Post-boot use of faster storage October 29, 2010 12:16PM |
Registered: 14 years ago Posts: 24 |
Re: Post-boot use of faster storage October 29, 2010 01:12PM |
Registered: 14 years ago Posts: 24 |
tail /etc/rc.local # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. mount -t ext3 /dev/sdb1 /mnt/SG500G swapon -p1 /mnt/SG500G/swap exit 0Which seems to work
root@dockstar:~# swapon -s Filename Type Size Used Priority /dev/sda2 partition 361452 0 -1 /mnt/SG500G/swap file 327672 0 1
Benchmarking /dev/sda [1987MB] Results: 652 seeks/second, 1.53 ms random access time Benchmarking /dev/sdb [476940MB] Results: 38 seeks/second, 25.84 ms random access time root@dockstar:/tmp# sudo hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 32 MB in 3.08 seconds = 10.38 MB/sec root@dockstar:/tmp# sudo hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 64 MB in 3.03 seconds = 21.09 MB/sec
Re: Post-boot use of faster storage October 29, 2010 05:00PM |
Registered: 14 years ago Posts: 13 |