At the risk of triggering a few zealots, I have been profiling throughput on a dual boot machine (debian 12 and BSD 15) where I created a 4KB chunk size RAID0 volume of 200GB that is accessible from both BSD and Linux (two disk volume). The volume is non-persistent so I create it at boot time on each OS. Anyways, the filesystem is ext2 and I've loaded it up with 181 files totaling 26.8GB in size.
I'm hoping someone can adequately explain the difference in performance between Linux and BSD. Raw sequential volume reads are about 180MB/sec in Linux and 60MB/sec in BSD (measured by timing dd raw device reads). Sequential filesystem reads are 150MB/sec in Linux and 50MB/sec in BSD (measured by cumulatively catt-ing files to /dev/null before they have been cached by the FS cache). I have not profiled write times. But...the 3times better performance in Linux is something that cannot be ignored. Any unbiased technical explanations of why the difference?
And no, I don't want to have a discussion about ZFS. I need a least common denominator shared drive between Linux and BSD in dual boot so RAID0/ext2 fits the bill.
I'm hoping someone can adequately explain the difference in performance between Linux and BSD. Raw sequential volume reads are about 180MB/sec in Linux and 60MB/sec in BSD (measured by timing dd raw device reads). Sequential filesystem reads are 150MB/sec in Linux and 50MB/sec in BSD (measured by cumulatively catt-ing files to /dev/null before they have been cached by the FS cache). I have not profiled write times. But...the 3times better performance in Linux is something that cannot be ignored. Any unbiased technical explanations of why the difference?
And no, I don't want to have a discussion about ZFS. I need a least common denominator shared drive between Linux and BSD in dual boot so RAID0/ext2 fits the bill.
