Bug 811676
Summary: | Extremely poor performance of mount.cifs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Zenith88 <zenith22.22.22> |
Component: | kernel | Assignee: | Jeff Layton <jlayton> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 14 | CC: | dpal, gansalmon, itamar, jlayton, jonathan, kernel-maint, madhu.chinakonda, ssorce, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
tested between Phenom II X4 PC built on Gigabyte AMD890 motherboard with Realtek gigabit NIC and Athlon PC built on ASUS AMD890 motherboard with same NIC, connected using Cat6 cable and ASUS gigabit switch.
|
|
Last Closed: | 2012-04-11 18:19:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zenith88
2012-04-11 17:07:13 UTC
To be pedantic... It's not mount.cifs that's slow here. mount.cifs is just the mount helper that does things like resolve addresses and hand them off to the kernel. The bulk of the cifs code lives in the kernel and that's where the slowness that you're complaining about is... More recent kernels have support for async reads and writes. Performance should be much better there. While it may not be what you want to hear, F14 is now past it's end-of-life and you'll likely need to update to a newer release in order to get that benefit. How is it then that the same share mounted in Gnome's Nautilus (via smbclient) pumps data at 28 MB/s? Gnome's nautilus uses the (userspace) samba client libraries to do its bidding. It has very little in common with cifs.ko, other than the fact that they speak the same protocol on the wire. Excellent, then it's just a copy-paste job to fix poor performance of cifs. It's even easier than that. It's just a kernel upgrade to something ~3.2-ish. My users are refusing upgrade to anything further F14 due to the horrific look and feel of Gnome 3, which in their opinion turns their PCs into giant likeness of a cellphone, while lacking many features they are used to. I can't find fault in their thinking. As you understand, series 3 kernels are not provided for F14. No more updates at all are provided for F14 any longer. It's past its end of life at this point: http://fedoraproject.org/wiki/Releases/14/Schedule Ok, you win, I loose. I'll just budget for more Win7 copies then. 55-60 MB/s can't argue with that. FWIW, these benchmarks were just posted upstream the other day by a user who was seeing a similar problem: kernel 2.6.35 writing with dd if=/dev/zero bs=1M: 1073741824 octets (1,1 GB) copés, 15,393 s, 69,8 MB/s reading with dd: 2147483648 octets (2,1 GB) copiés, 62,5917 s, 34,3 MB/s kernel 3.2.14 writing: 1073741824 octets (1,1 GB) copiés, 9,83073 s, 109 MB/s reading: 2147483648 octets (2,1 GB) copiés, 18,2867 s, 117 MB/s read YMMV of course. I've said it right off the bat - won't upgrade. After seeing Gnome 3 I puked on the keyboard and so did the users on campus. No one will upgrade to F15 or F16 here, period. Nobody wants to abandon their habits made over the last decade or so in favor of the new cellphone look and feel. If it was fairly straightforward to install vanilla kernel on F14, I would try, but alas it just does not work. If it was fairly straightforward to get replace Gnome 3 with Gnome 2 on F15/16, I would try, but that's not working either. It seems like you are unaware that you still can switch it to the old "menu" style look and feel. It is a bit different but 80% close to what it was and tolerable. So you can continue using the older style UI but move on to later versions of Fedora. Gnome 2 fallback mode does not cut it - lots of applets are missing and that impacts productivity and morale. |