Nix wrote: >On 17 Jun 2006, Hans Reiser prattled cheerily: > > >>If the FS is called per page, then it turns out that 3) costs more than >>1) and 2) for sophisticated filesystems. As we develop fancier and >>fancier plugins this will just get more and more true. It decreases CPU >>usage by 2x to use per sys_write calls into reiser4 rather than per page >>calls into reiser4. >> >> > >This seems to me to be something that FUSE filesystems might well like, >too: I know one I'm working on would like to know the real size of the >original write request (so that it can optimize layout appropriately >for things frequently written in large chunks; the assumption being that >if it's written in large chunks it's likely to be read in large chunks >too). > > > Hi Nix, Forgive myn utter ignorance of fuse, but does it currently context switch to user space for every 4k written through VFS? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: batched write
- From: Miklos Szeredi <[email protected]>
- Re: batched write
- References:
- [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)
- From: Hans Reiser <[email protected]>
- 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)
- From: Tom Vier <[email protected]>
- 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)
- From: Hans Reiser <[email protected]>
- 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)
- From: Jens Axboe <[email protected]>
- 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)
- From: "Vladimir V. Saveliev" <[email protected]>
- 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)
- From: Christoph Hellwig <[email protected]>
- batched write
- From: "Vladimir V. Saveliev" <[email protected]>
- Re: batched write
- From: Andrew Morton <[email protected]>
- Re: batched write
- From: Hans Reiser <[email protected]>
- Re: batched write
- From: Nix <[email protected]>
- [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)
- Prev by Date: Re: [PATCH 4/7] fuse: add POSIX file locking support
- Next by Date: Re: About the fixes of /drivers/serial/8250.C in 2.6.17-rc6 for avoiding habbg-up
- Previous by thread: Re: batched write
- Next by thread: Re: batched write
- Index(es):