On Sun, Jun 07, 2009 at 01:03:36AM +0900, Ryusuke Konishi wrote:
> On Sun, 07 Jun 2009 00:11:13 +0900 (JST), Ryusuke Konishi wrote:
> > Hi,
> > On Sat, 6 Jun 2009 16:49:28 +0300, [email protected] wrote:
> > 
> > I think the pause is related to garbage collection.  What will happen
> > if you mount the partition with -i option ?
> > 
> >    # mount -t nilfs2 -i /dev/xxx /mnt/media
> > 
> > This option skips invoking the garbage collector (cleanerd).
> 
> Oops, your log shows the cleanerd is sleeping.
> 
> So, the 5 seconds interval likely comes from regular writeback by the
> segment constructor thread.
> 
> Could you tell me the product name of your USB flash ?
> 
> I will try expansion of a rar file against my pendrive (cruzer)
> 
> Thanks,
> Ryusuke Konishi
> 
> > If it raises throughput, you can adjust by slowing down cleanerd by
> > rewriting /etc/nilfs_cleanerd.conf (a HUP signal must be sent to the
> > cleanerd to reflect the change):
> > 
> >    # The maximum number of segments to be cleaned at a time.
> >  - nsegments_per_clean     2
> >  + nsegments_per_clean     1
> > 
> >    # Cleaning interval in seconds
> >  - cleaning interval       5
> >  + cleaning interval       10
> > 
> > 
> > Thanks,
> > Ryusuke Konishi
> > _______________________________________________
> > users mailing list
> > [email protected]
> > https://www.nilfs.org/mailman/listinfo/users

Thank you for your fast replies .

I already tried playing with nilfs_cleanerd.conf & It didn't help .
Mounting with "-i" didn't help either 

Current tests with "tar -xvvf file.tar.gz" where the archive size is
73.8MB & the extraction time is 35-41 seconds in nilfs2 compared to 3-8
seconds in XFS on the same pendrive .

I tested with two completely different pendrives & got the exact same
result so the problem is not model-specific .

If the bug is not reproducible , we can blame it on my system/setup .
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to