[Bug 224527] New: Bug 363400 – Nautilus / gnomevfs very slow with xfs file system
https://bugzilla.novell.com/show_bug.cgi?id=224527 Summary: Bug 363400 – Nautilus / gnomevfs very slow with xfs file system Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: linux@51sun.cn QAContact: qa@suse.de Reference to: http://bugzilla.gnome.org/show_bug.cgi?id=363400 I got same problem in openSUSE 10.2 RC1 It's very very slow(in XFS) while copying a large file( >100MB ). Everything's slower than in KDE. VERY VERY SLOW! To copy a 128MB file it took 4-5mins. (several seconds in KDE/cp). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #1 from linux@51sun.cn 2006-11-29 08:59 MST ------- http://blog.51sun.cn/wp-content/uploads/2006/11/Screenshot-Copying%20files-1... This file just 120.4MB, 3:49 remaining???? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 drixter@e-utp.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |drixter@e-utp.net Severity|Normal |Major Priority|P5 - None |P3 - Medium Summary|Bug 363400 – Nautilus / |Bug 363400 – Nautilus / gnomevfs very slow |gnomevfs very slow with xfs |copying data |file system | Version|RC 1 |Final ------- Comment #2 from drixter@e-utp.net 2007-01-28 13:37 MST ------- The same with samba<->ext3 partition. Valid on 10.2 with most updates made by opensuse gnome packages. PS: Changed the subject line -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #3 from linux@51sun.cn 2007-01-28 20:52 MST ------- It still in gnome-vfs-2.17.4(latest). I just made a temporary patch, but I don't know if other problem 'll appear. I simply set forget_cache = FALSE. is it safe? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #4 from drixter@e-utp.net 2007-01-29 02:04 MST ------- I don't know. I've migrated to openSUSE to don't compile anything by hand, so I'll wait for SUSE package which will fix this issue -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #5 from linux@51sun.cn 2007-01-29 09:07 MST ------- But it's really a long time. :) It's still UNCONFIRMED in bugzilla.gnome.org (http://bugzilla.gnome.org/show_bug.cgi?id=363400). It's really slow when copying files, exactly in any filesystem, compare with KDE, I hope it's not my delusion. All people using KDE? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #6 from drixter@e-utp.net 2007-01-29 09:13 MST ------- It's really strange. I like GNOME, as far I know that SUSE prefer GNOME instead KDE. But maybe all people using KDE. Maybe we also should? :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #7 from linux@51sun.cn 2007-01-29 11:23 MST ------- No, we shouldn't. :) Somebody posted a report to gnome, I think it's really a problem that posix_fadvise() which was called by modules/file-method.c wastes too much time, isn't it. I think it's useless. may be posix_fadvise() have poor implement for some filesystem. I have taken some test at XFS and ReiserFS, posix_fadvise() does occupy 88.82%-99% time in XFS(wasted much), and 10% time in ReiserFS(wasted fewer), and DEBUG_PRINT(never need) 2%+-(wasted fewest but time was wasted!). Then I try to comment// the syscall and repackage it, it's as fast as KDE. I think fadvise() is useless. Quote Programmer's Manual: it merely constitutes an expectation on behalf of the application. PS: and waste the time ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #8 from drixter@e-utp.net 2007-01-29 12:09 MST ------- So we have to wait when GNOME people will fix it. Or maybe put if you can a diff file and somekind instruction what and how you have did to make it work correctly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #9 from linux@51sun.cn 2007-01-29 22:31 MST ------- Created an attachment (id=116049) --> (https://bugzilla.novell.com/attachment.cgi?id=116049&action=view) Remove fadvise(), it's cause poor preformace with SOME filesystem. JUST remove fadvise(), it's cause poor preformace with SOME filesystem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 linux@51sun.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #116049|0 |1 is obsolete| | ------- Comment #10 from linux@51sun.cn 2007-01-30 02:02 MST ------- Created an attachment (id=116067) --> (https://bugzilla.novell.com/attachment.cgi?id=116067&action=view) 116049: Remove fadvise(), it's cause poor preformace with SOME filesystem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 linux@51sun.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #116067|116049: Remove fadvise(), |Remove fadvise(), it's cause poor preformace description|it's cause poor preformace |with SOME filesystem. |with SOME filesystem. | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #11 from drixter@e-utp.net 2007-02-02 10:44 MST ------- I've made a binary rpm with your patch included for other people who maybe don't know how to use your patch. Just force to reinstall/upgrade this one with your current one eg. (after becaming root): rpm --upgrade --force ftp://ftp.e-utp.net/pub/e-utp.net/opensuse/10.2/gnome-vfs2-2.16.1-23.i586.rpm Please be carefully when using this binary! It's fix this bug issue, but can make another. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |hpj@novell.com |gnome@forge.provo.novell.com| -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 hpj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |linux@51sun.cn ------- Comment #12 from hpj@novell.com 2007-02-13 20:08 MST ------- I find it odd that fadvise should cause such a slowdown. Could you get me a sysprof of the slow copy operation? 1. Install package "sysprof". 2. Install package "sysprof-kmp-default" (or whichever is good for your kernel). 3. Stop all unnecessary programs, as they can make the trace unclear. 4. > sudo /sbin/modprobe sysprof 5. > sysprof 6. Start copying the file. 7. Hit the "play" button in sysprof. 8. Wait 10-30 seconds while copying. 9. Hit the "report" button in sysprof. 10. Save the report to a file and attach it to this bug. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #13 from linux@51sun.cn 2007-02-14 23:48 MST ------- Created an attachment (id=119306) --> (https://bugzilla.novell.com/attachment.cgi?id=119306&action=view) strace of gnomevfs-copy odd? Yes. But, it's really a complexly implement of fadvise() with FADV_NOTNEED in Kernel. As you see, fadvise syscall take 86% in XFS here compare to 20% in reiserFS. Sysprof latter after i downgrade the gnome-vfs without fatch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 linux@51sun.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #119306|strace of gnomevfs-copy |strace of gnomevfs-copy with XFS filesystem. description| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #14 from linux@51sun.cn 2007-02-14 23:59 MST ------- Created an attachment (id=119307) --> (https://bugzilla.novell.com/attachment.cgi?id=119307&action=view) sysprof snapshot. sysprof snapshot, 80%+ time inkernel :P -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 linux@51sun.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|linux@51sun.cn | Attachment #119306|0 |1 is obsolete| | ------- Comment #15 from linux@51sun.cn 2007-02-15 00:03 MST ------- Created an attachment (id=119308) --> (https://bugzilla.novell.com/attachment.cgi?id=119308&action=view) strace of gnomevfs-copy both in XFS and ReiserFS with fadvise() strace of gnomevfs-copy both in XFS and ReiserFS with fadvise() You can compare both in 2 filesystems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #16 from hpj@novell.com 2007-02-19 16:30 MST ------- It looks like you're right, but I'm not sure the correct fix is to disable fadvise() unconditionally. I see that we're calling it very frequently (once per read plus once per write, or about once for every 4KB transferred). It would be better (and not much harder) to reduce the number of calls to gnome_vfs_forget_cache() in gnome-vfs-xfer.c:copy_file_data(). However, I don't know if the overhead is per-call or per-cache-block, and I don't have an XFS filesystem to test on easily. I've elaborated a patch to test the hypothesis. Could you test it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 hpj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #116067|0 |1 is obsolete| | ------- Comment #17 from hpj@novell.com 2007-02-19 16:31 MST ------- Created an attachment (id=120008) --> (https://bugzilla.novell.com/attachment.cgi?id=120008&action=view) Make fewer fadvise() calls during transfers. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 hpj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |linux@51sun.cn -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #18 from hpj@novell.com 2007-02-19 16:37 MST ------- I built a package for x86 to test the patch - here it is in case it makes your life easier: http://hp.cl.no/dist/gnome-vfs2-224527/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 linux@51sun.cn changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|linux@51sun.cn | ------- Comment #19 from linux@51sun.cn 2007-02-19 19:41 MST ------- Created an attachment (id=120014) --> (https://bugzilla.novell.com/attachment.cgi?id=120014&action=view) gnome-vfs with the patch in XFS. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #20 from linux@51sun.cn 2007-02-19 19:54 MST ------- XFS maybe as slow as it deleting files when writing pages back :P -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 hpj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |linux@51sun.cn ------- Comment #21 from hpj@novell.com 2007-02-20 18:31 MST ------- That looks a lot better! I assume it solved your problem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 ------- Comment #22 from linux@51sun.cn 2007-02-20 20:31 MST ------- yes, enough. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 hpj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|linux@51sun.cn | ------- Comment #23 from hpj@novell.com 2007-02-21 23:45 MST ------- I upstreamed the patch to http://bugzilla.gnome.org/show_bug.cgi?id=363400 . I'll close this bug once I've also applied it to our packages. Thanks for your traces - the were instrumental in fixing the bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224527 hpj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #24 from hpj@novell.com 2007-02-23 23:53 MST ------- Submitted to factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com