Saturday, July 14, 2007

cut vs. awk

I have been igoring 'awk' for a long time and rely on 'cut' to extract section of a file for text processing. But, 'cut' is very limited on the delimiters. However, 'awk' has a more friendly delimiter definition. For example,

| cut -d' ' -f 3
will only treat a single white space as the delimiter, but
| awk '{print $3}'
will treat one or more white spaces as the delimiter and help a lot of output formatted using white space instead of TAB.

Wednesday, July 4, 2007

Cell vs. GPU vs. CPU

A slide presents transistors and chip area for Cell, GPUs, and CPUs. The following are other resource comparisons I am interested.







































CellHPC CellIntel ClovertownAMD Winsor+ATI R580 X1950nVidia G80 GTX
Memory on Chip512KB(L2)+
256KB(LS)x8
512KB(L2)+
256KB(LS)x8
4MB(L2)x21MB(L2)x2(TC)16KBx16(SHM)+
(TC)
Memory off Chip25.6 GB/s25.6 GB/s10.41 GB/s(FSB)17.0 GB/s
(DDR2-1066x2)
64.0 GB/s86.4 GB/s
IO25.6 GB/s25.6 GB/s10.41 GB/s
(FSB)
22.4 GB/s
(HT)
4.0 GB/s
(PCIex16)
4.0 GB/s
(PCIex16)