tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: raw/block device disc troughput
> It seems that I have to update my understanding of raw and block
> devices for discs. [...performance oddities...]
Mostly I have nothing useful to say here. But...
> 2. I would have expected inceasing the block size above MAXPHYS not
> improving the performance.
There is at least one aspect of performance that will not be cut off by
MAXPHYS, that being syscall overhead. I don't know your system (you
don't say which port you're running on, for example), but if syscall
overhead for your hardware is not ignorably small compared to the costs
of doing the disk transfer, then doing one syscall per 256K will be
four times as costly in syscall overhead as doing one syscall per 1M,
even if it is four times as costly in disk transfers.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index