So clock rate is the only thing that matters in your world?
In my world, high-end means high quality. It doesn't necessarily
mean fast, or recent.
Warren writes:
> A. Use ahci(4):
> "The ada device driver takes full advantage of NCQ, when supported."
Achi and siis support NCQ, but neither attach to the nforce4-ultra,
which does support NCQ. I knew that NCQ would be required for acceptable
performance and gave up other useful features to get it. Silly me,
assuming that the performance orientated version of BSD would
support such an essential performance feature on a very popular chipset.
Linux has had NCQ on nforce4 since Oct 2006.
Without NCQ, writes are slower than USB2, even with purely sequential
writes (to the raw drive, no filesystem, so no seeking other then to
the next track):
device r/s w/s kr/s kw/s wait svc_t %b controller
ad6 1726.5 0.0 217535.0 0.0 1 0.6 96 ata3-master
ad6 0.0 109.5 0.0 13794.8 1 9.1 100 ata3-master
da0 249.9 0.0 15741.4 0.0 1 6.0 100 umass-sim0
ad6 is ST3000DM001-9YN166 on nforce4-ultra chipset
da0 is ST3000DM001-9YN166 USB3 disk on a USB2 port (from nforce)
Sorry no write performance data for da0, I yanked the USB-to-SATA bridge
off after doing some testing. The bridges they're currently shipping
are slightly less crappy than they used to be, but they are still crap.
> B. Use GPT, which does not have the CHS baggage. It is easier and more
> versatile. My systems with GPT disks don't complain about track
> alignment. Or maybe that's ahci(4)'s doing.
I never found a way to boot from different partitions, much less
different disks with GPT. So I use NetBSD's MBR for disks I want
to boot from. FreeBSD's and NetBSD's fdisk are both broken.
Building MBRs by hand is such fun. Non-boot disks with multiple
partitions use GPT. Big data disks get newfs-ed directly, no
partitioning.
The useless CHS baggage hangs around for decades, but useful
hardware loses all support 5 nanoseconds after the last machine
is sold. Other useful hardware waits years hoping to get support.
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hacke...@freebsd.org"
I care about data integrity, so things like ECC are on my must-have list.
I suspect that your "cheap little media player thingy" doesn't have ECC.
If you don't care about getting the correct answer you can have infinite
speed.
A high clock rate doesn't help when some device driver does
block_all_interrupts();
while(1)
DELAY(MIGHT_AS_WELL_BE_FOREVER);
At least four device drivers have caused me to lose data this way.
Not what I call high performance.
>> In my world, high-end means high quality. It doesn't necessarily
>> mean fast, or recent.
Data integrity, and yes, reliability, that sort of thing.
Performance-wise, in most cases I don't expect to get 99.9999%
of the theoretical best case, I'm usually happy with 90-95%.
But without NCQ I'm only getting ~6% of what I should be getting.
Pretty pathetic for an OS that claims to be all about performance.
All the more so when the crappy OSes do support NCQ on that chip.
It's not some rare, obscure chip. Lots of boxes have it.
>> I never found a way to boot from different partitions, much less
>> different disks with GPT.
>
> Having just been recently convinced to switch over to GPT (from MBR) I do
> most sincerly hope that you are either joking or mistaken about this.
I am neither joking nor mistaken. I looked but could not find a way.
I am not claiming that a way does not exist, merely that I couldn't
find it. Perhaps there wasn't a way when I looked (it was awhile ago)
but does exist now? I have never been a fan of MBRs, they are for
pee-cees with the expected ugly kludges and limitations, real machines
don't use them. GPT isn't perfect, but it seems much nicer than MBRs.
Warren writes:
> Grub (or grub2) can do it.
Back when I was triple-booting FreeBSD, NetBSD and Linux I used
grub (rev number forgotten). It was supposed to be able to boot
BSD from a partition but I never got that to work. I had to have it
boot the MBR of a different disk which then booted BSD. I wrote
3 little shell scripts that edited grub's menu to change the default.
So I could be running FreeBSD and type "boot_netbsd", and go have lunch
while it rebooted. Other than not booting BSD from a partition it
wasn't that bad for something that smells of penguin.
> If you're booting multiple versions of FreeBSD, see gpart(8)
> for some partition attributes that may help.
You mean the bootme bootonce stuff? That looks promising, assuming
I can manage to decode the man page, and figure out what it actually
does. Mostly multiple versions of FreeBSD. (for example 7.0 had a couple
of bugs preventing it from booting, so having 6 still available was
essential.) I no long need Linux (YEA!!!), and after a certain fubar
incident have declared a Linux Free Zone. It would be nice if I could
also boot Net/Open/Dragonfly. I don't see a way to boot multiple disks,
but GPT allows enough partitions that I probably won't care.
Not sure if the bootme bootonce stuff wasn't there yet when I looked,
or if I just missed it. Thanks for the pointer.
> Or even consider ZFS boot environments.
I plan to stick with FFS w/softdeps.