Thursday, February 10, 2011

DDR SDRAM (DDR1/2/3/4)



DDR 2/3 SDRAM (Double Data Rate)
ODT (On Die Termination)
Starting from DDR2, memory could have ODT in IC.
A very short introduction here.

OCD (Off-chip Driver) Calibration
A very short introduction here.

Posted CAS (Column Address Strobe) Additive Latency
CAS: A signal sent from a processor (memory controller) to a DRAM circuit to indicate that the column address lines are valid.

DQ/DQS
Uses a strobe signal (DQS) to latch data (DQ)

Strobe: One of the signals of a memory device, which is asserted to tell the memory device that the signal are valid. Upon receiving this signal the selected memory device starts the memory access (read/write). It may be driven directly by the processor (memory controller) during write and may be driven directly by the memory device during read.

DDR Comparison



Monday, February 7, 2011

ARM NEON SIMD

NEON

Optimizing

Performance

Reference:
1. ARM
2. Optimizing Embedded Software - A Look at the NEON SIMD unit in the ARM Cortex Family of Processors

Thursday, January 20, 2011

RTL

RTL
RTL stands for Register Transfer Level. It is a high-level hardware description language (HDL) used for defining digital circuits. The most popular RTL languages are VHDL and Verilog.

Tuesday, January 4, 2011

SLAB/SLUB/SLOB

Linux Memory Management
  • Buddy System
    • Allocate 4KB (PAGE_SIZE)
      Page based memory
  • Slab Allocator
    • Allocate smaller than 4KB
      Object based memory
     

SLAB Allocaror

SLUB Allocaror

SLOB Allocaror

Reference:

  • Linux Kernel Heap Tampering Detection
  • Thursday, December 30, 2010

    Linux RAID framework

    Software RAID implementations
    1. Multiple Device (MD) subsystem
    2. Device Mapper (DM)
    3. Btrfs filesystem
    The main jobs for RAID

    (1) RAID management tasks

    (2) The exclusive-or (XOR) computations

    The XOR computation can be performed on CPU
    The XOR computation can be performed on disk drives

    For example: Write operation to a RAID 5 disk array

    1. Read "old" data from the data drive.
    2. Read "old" parity data from the parity drive.
    3. XOR the old data from the data drive with the old parity data from the parity drive.
    4. Write the new data to the data drive.
    5. XOR the new data with the parity data and write the result to the parity drive.

    Hardware Solution: XOR hardware engines for parity calculations
    The hardware engines typically consist of a high-speed memory buffer and a XOR calculator/sequencer.

    RAID Level Comparison

    GPU system on Linux

    Linux Framebuffer