[haiku-development] Re: Latest changes and general status.

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 24 Apr 2008 10:08:59 +0200 CEST

Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:
> I wonder if we are not doing excessive locking in OpenBFS...

Not more than needed - its design requires to have all meta write 
operations sequentially, all other locking is done per inode.
I would rather expect the problem for this to be in the I/O path as a 
whole - it is not yet optimized at all. For example, the file/block 
cache only reads exactly whatever you tell it (no precaching), there is 
no I/O scheduler, our VM always only maps in 4K on a page fault, etc.

BTW the interface speed does not really determine the speed of a hard 
drive. If you have a 4ms access, 10000 rpm drive, then you have a fast 
drive. If you have a 8ms access, 7200 rpm drive, you have a standard 
drive.

Bye,
   Axel.


Other related posts: