|
From: Alain S. <asp...@gm...> - 2011-10-30 23:29:10
|
On Thu, Oct 20, 2011 at 6:09 PM, Samuel Gallard <sam...@ve...> wrote: > Hello, > > I am trying to benchmark fuse over the default filesystem. > > For the test, I am using an Ubuntu server 10.04 LTS with a Raid 1 > system in ext4 and the kernel 2.6-38-11-server. > > I used fusexmp.c (web.mit.edu/~ecprice/fuse-2.7.0/example/fusexmp.c) with > the fuse version 2.8.6 which just permits to replace a normal file system. > > Did anyone ever succeed to obtain almost the same performance in reading and > writing with Fuse ? Yes close to , use fusexmp_fh.c instead > > For the moment, I used the following option to tweak Fuse and the kernel : > - VM_MAX_READAHEAD located in /usr/src/linux-headers-2.6.*/include/linux/mm.h > : 4096 > - MIN_BUFSIZE located in */fuse-2.*/lib/fuse_kern_chan.c : 0x401000 > - FUSE_MAX_PAGES_PER_REQ located in fs/fuse/fuse_i.h : 256 > > For the mount point, I have the following options : big_writes, large_read and > direct_io. try removing diret_io I think lare_read is useless here just try this big_writes,max_read=131072,max_write=131072 > > To check the performance, I use it over samba (with the option sendfile=yes) > to write and read files. I don't know how to tune FUSE to perform well with samba. I think nothing to do. > > I obtain a loss of 10% when writing within the fuse mount point and around a > loss of 50% when reading from it. > > Did I miss an option or something ? Or is it a normal behavior ? Don't expect to be fatser :-) > > Regards > > Samuel > > > > > > > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Ciosco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > fuse-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel > -- Alain Spineux | aspineux gmail com Monitor your iT & Backups | http://www.magikmon.com Free Backup front-end | http://www.magikmon.com/mksbackup Your email 100% available | http://www.emailgency.com |