2006-08-10

BenQ FP92W 19" widescreen


X11 modelines:
# 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
Modeline "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync

# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync

# 1440x900 @ 65.00 Hz (GTF) hsync: 60.71 kHz; pclk: 116.56 MHz
Modeline "1440x900_65.00"  116.56  1440 1528 1680 1920  900 901 904 934  -HSync +Vsync

# 1440x900 @ 70.00 Hz (GTF) hsync: 65.59 kHz; pclk: 126.98 MHz
Modeline "1440x900_70.00"  126.98  1440 1536 1688 1936  900 901 904 937  -HSync +Vsync

# 1440x900 @ 75.00 Hz (GTF) hsync: 70.50 kHz; pclk: 136.49 MHz
Modeline "1440x900_75.00"  136.49  1440 1536 1688 1936  900 901 904 940  -HSync +Vsync

# 1440x900 @ 76.00 Hz (GTF) hsync: 71.44 kHz; pclk: 138.31 MHz
Modeline "1440x900_76.00"  138.31  1440 1536 1688 1936  900 901 904 940  -HSync +Vsync

To circumvent the 2048 limit in mergedfb, my [1024x768] and [1440x900] displays are vertically aligned at the moment.

2006-08-07

Application Temporary Data into RAM

Reduce read/write stress on harddrive for temporary application data.
減少應用程式在硬存上的讀寫

Mount /tmp to RAM tmpfs (auto reszie below 1GB)
/tmp 掛載到 RAM 並設成 1GB 大小.
$ nano -w /etc/fstab
none  /tmp  tmpfs  defaults,nosuid,nodev,noatime,size=1024M,mode=1777  0 0
Edit /etc/bash/bashrc
修改 /etc/bash/bashrc
$ nano -w /etc/bash/bashrc
if [ ! -d /tmp/.$USER ]; then
  mkdir /tmp/.$USER
fi

for x in .adobe .dia .gimp-2.3 .gqview .java .macromedia .mplayer .thumbnails .urlgfe .vlc .xvpics
do
  if [ ! -d /tmp/.$USER/$x ]; then
    mkdir /tmp/.$USER/$x
    ln -sf /tmp/.$USER/$x $HOME
  fi
done

2006-06-30

我的護花男朋友

Title: how much you luv your girlfriend

dont fight...
別要再打啦

Old Code:
<embed
 FlashVars="playerMode=normal"
 align="middle"
 allowScriptAccess="never"
 bgcolor="#ffffff"
 id="VideoPlayback"
 quality="best"
 salign="TL"
 scale="noScale"
 src="http://video.google.com/googleplayer.swf?docId=-4834916158429048626"
>
</embed>

[漫畫] 傀儡馬戲團


からくりサーカス

故事連載始自1997年, 於2006年6月完結.

作者: 藤田和日郎

Google Bookmarks

Added Google Bookmarks to my blog template
Google Bookmarks Help
Makes the web-links follow [userid:password]

2006-06-29

[Benchmark] Linux Software ATA RAID-1

Mother Board: PC-Chips M810LR
CPU: Duron 600MHz
RAM: 128MB SDRAM
Onboard ATA Controller
Kernel: 2.6.x


Activate the hidden port in the kernel:
some benchmarks

$ hdparm -tT /dev/hd{a,c,a,c,a,c}
/dev/hda:
 Timing cached reads:   572 MB in  2.00 seconds = 285.98 MB/sec
 Timing buffered disk reads:  152 MB in  3.00 seconds =  50.60 MB/sec

/dev/hdc:
 Timing cached reads:   572 MB in  2.01 seconds = 284.84 MB/sec
 Timing buffered disk reads:  142 MB in  3.03 seconds =  46.89 MB/sec

/dev/hda:
 Timing cached reads:   580 MB in  2.00 seconds = 289.98 MB/sec
 Timing buffered disk reads:  160 MB in  3.01 seconds =  53.19 MB/sec

/dev/hdc:
 Timing cached reads:   556 MB in  2.00 seconds = 277.98 MB/sec
 Timing buffered disk reads:  148 MB in  3.03 seconds =  48.81 MB/sec

/dev/hda:
 Timing cached reads:   580 MB in  2.01 seconds = 288.83 MB/sec
 Timing buffered disk reads:  152 MB in  3.00 seconds =  50.60 MB/sec

/dev/hdc:
 Timing cached reads:   568 MB in  2.00 seconds = 283.42 MB/sec
 Timing buffered disk reads:  142 MB in  3.02 seconds =  47.02 MB/sec
$ time hdparm -tT /dev/md{0,0,1,1,0,1}
/dev/md0:
 Timing cached reads:   564 MB in  2.00 seconds = 281.98 MB/sec
 Timing buffered disk reads:  162 MB in  3.01 seconds =  53.85 MB/sec

/dev/md0:
 Timing cached reads:   572 MB in  2.01 seconds = 284.28 MB/sec
 Timing buffered disk reads:  168 MB in  3.00 seconds =  56.00 MB/sec

/dev/md1:
 Timing cached reads:   572 MB in  2.01 seconds = 284.28 MB/sec
 Timing buffered disk reads:  156 MB in  3.00 seconds =  52.00 MB/sec

/dev/md1:
 Timing cached reads:   576 MB in  2.00 seconds = 287.98 MB/sec
 Timing buffered disk reads:  150 MB in  3.00 seconds =  49.93 MB/sec

/dev/md0:
 Timing cached reads:   584 MB in  2.00 seconds = 291.98 MB/sec
 Timing buffered disk reads:  168 MB in  3.00 seconds =  55.92 MB/sec

/dev/md1:
 Timing cached reads:   572 MB in  2.01 seconds = 284.84 MB/sec
 Timing buffered disk reads:  156 MB in  3.00 seconds =  51.93 MB/sec

real    1m19.831s
user    0m1.096s
sys     0m19.953s