From: François T. <thi...@gm...> - 2009-03-05 09:34:31
|
2009/3/5 chpstcks <dl...@ze...> > > On Mon, 2 Mar 2009, François Thiebolt wrote: > > Dear miklos, Fuse users, > > > > 'big_writes' from Fuse-2.8 release combined with recent kernels (we use > > 2.6.28.2) shows an improved write performances (switches from 4kb to > 128kb > > write syscalls :-) ) > > > > Now i made changes to the kernel to reach 4M syscalls (*VM_MAX_READAHEAD > > && > > **FUSE_MAX_PAGES_PER_REQ*) so i clearly see 4MB read syscalls but write > > syscalls are still 128Kb ... is there anything that ought to be done > > within > > kernel or fuse source codes to have read and write syscalls the same size > > (4M) ? > > Hello, > > Thanks much for the information =) > > But now that Fuse 2.8 source no longer include a kernel module, where did > you go to modify the value of VM_MAX_READAHEAD and FUSE_MAX_PAGES_PER_REQ > (and recompile)? Did you use the kernel module from Fuse 2.7.4? Ok, you need to modifiy both the kernel, the fuse kernel module (within kernel tree) along with the Fuse library. *KERNEL PART* (fuse module is already within the kernel repository) #define VM_MAX_READAHEAD (include/linux/mm.h) #define FUSE_MAX_PAGES_PER_REQ (fs/fuse/fuse_i.h) *FUSE LIB PART* /lib/fuse_kern_chan.c #define MIN_BUFSIZE *0x401000* (for 4M write request is that ok *miklos* ?) This latest option has not yet been tested ... let me know if it works. Byebye. François. > > Thanks, > > > ~dAviD > -- > View this message in context: > http://www.nabble.com/-Fuse-2.8--big_write-option---%3E-128kb-write-syscall-...-howto-set-higher-value-tp22292589p22342763.html > Sent from the Fuse - Dev mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > fuse-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel > -- ------------------------------------------------------------- You computer seems overloaded ? Check that nobody's asked for tea ! "The Hitchhiker's Guide to the Galaxy" D.Adams |