Christopher, et al.,

I am trying to get my head around why the performance of ramdisk is so much poorer than that of HDD-pool+SSD-slog.

/usbkey/test_dir]# time dd if=/dev/zero of=/tmpfs/testfile bs=64k count=32768;time dd if=/dev/zero of=/usbkey/test_dir/testfile bs=64k count=32768
32768+0 records in
32768+0 records out
2147483648 bytes transferred in 2.279053 secs (942270169 bytes/sec)

real    0m2.312s
user    0m0.021s
sys     0m1.062s
32768+0 records in
32768+0 records out
2147483648 bytes transferred in 0.743729 secs (2887453957 bytes/sec)

real    0m0.760s
user    0m0.016s
sys     0m0.652s


I created the ramdisk thus:
ramdiskadm -a rd1 3072m
...
zfs create -o  mountpoint=/tmpfs -o sync=disabled  ramdsk1/rd1


I've run it many times and although the results vary yet the tale is always the same.

Thank You,
Will



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to