Re: [PATCH] updated reiser4 - reduced cpu usage for writes by writing more than 4k at a time (has implications for generic write code and eventually for the IO layer)



On Wed, May 24 2006, Hans Reiser wrote:
Tom Vier wrote:

On Tue, May 23, 2006 at 01:14:54PM -0700, Hans Reiser wrote:


underlying FS can be improved. Performance results show that the new
code consumes 40% less CPU when doing "dd bs=1MB ....." (your hardware,
and whether the data is in cache, may vary this result). Note that this
has only a small effect on elapsed time for most hardware.



Write requests in linux are restricted to one page?



It may go to the kernel as a 64MB write, but VFS sends it to the FS as
64MB/4k separate 4k writes.

Nonsense, there are ways to get > PAGE_CACHE_SIZE writes in one chunk.
Other file systems have been doing it for years.

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Re[2]: vn_fullpath()
    ... > I guess I am willing to fail:). ... File systems that don't use the centralized name cache facility, ... What to do when useful paths fall out of the name cache. ...
    (freebsd-hackers)
  • Re: which OutputStreams are buffered?
    ... Cache in RAID controllers, cache in disk drives, ... From what I understand one can configure certain file systems to be truthful about their sync activity. ... And that's such a fundamental principle of storage that i'd be surprised if there was any component in the chain that didn't support it - they may all have caches, but that just means they all also have to provide a flush mechanism. ...
    (comp.lang.java.programmer)
  • Re: [PATCH 0/3] Ext3 latency improvement patches
    ... won't be dirtying the page cache anyway. ... I'm sure that most of MySQL's database ... A lot of the cloud storage people rely on whole files. ... That chunk is really a whole file and is sent to disk!) before ack'ing the transaction. ...
    (Linux-Kernel)
  • Re: Re[2]: vn_fullpath()
    ... > File systems that don't use the centralized name cache facility, ... > What to do when useful paths fall out of the name cache. ... > the vnode in question". ...
    (freebsd-hackers)
  • Re[3]: vn_fullpath() again
    ... > How do you feel about small incremental improvements to name lookup? ... This would be implemented by file systems like ... procfs and devfs to handle cases where the name cache wasn't used. ... >> fundamentally second class systems in the file system and VFS design. ...
    (freebsd-hackers)