Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 1996 13:22:59 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: FAT filesystem performance
Message-ID:  <199602052022.NAA14247@phaeton.artisoft.com>
In-Reply-To: <199602050135.CAA02717@uriah.heep.sax.de> from "J Wunsch" at Feb 5, 96 02:35:35 am

next in thread | previous in thread | raw e-mail | index | archive | help
> If you wanna improve the FAT file system implementation, first study
> its bottlenecks.  The msdosfs code could certainly be improved in
> terms of robustness and performance.  Since it's kernel-level, it has
> full control over what kind of buffers it will allocate, either
> pageable or non-pageable.

I think the biggest win would be a 512b buffer validity granularity.

That is, an 8 bit bitmap for pages indicating which disk blocks in a
given page are in fact valid.

This would save significantly in read overhead for sequential rewrite
of an existing file, or random write of records of less than half the
page size.

The VM modifications would not be insignificant.

One of the biggest bottlenecks in the Linux MSDOSFS was the 1k read
granularity in the disk driver causing significant read overhead for
the actual on disk block/cluster I/O.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602052022.NAA14247>