Re: Slow Folder Traversal on One system, Fast on Another
Jeff Layton <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 18 Jan 2010 04:45:24 -0800 Tanthrix <[email protected]> wrote: > Thanks very much for taking the time to reply. > > I just unmounted and remounted the share with -o noserverino, and it > unfortunately made no perceptible difference in the time it takes to > traverse. It still slowly spits out the list of files over 6-7 seconds while > my older system continues to take around 1/4 of a second. > > Do you think I should attempt using a different ethernet card just to rule > out the possibility of that being to blame? This is a newer system with an > Intel 82567V-2 Gigabit onboard; it's working fine otherwise, but it's just a > thought. I think I've got a trusty Realtek RTL8139 lying around somewhere > that I could pop in if you thought it would be a worthwhile use of time. > > Alternatively, I was thinking I might take the other system down and boot it > off my Ubuntu livecd. I could then mount the share, and see if it lists just > as fast when booting off of its regular drive with Arch installed. That > might shed some light whether it is some sort of hardware related issue. > > Thanks again. > Ok, good to check. Other than the change to server inode numbers, I'm not sure of any huge changes to the readdir code recently. You could try mounting with '-o nounix' to disable unix extensions. I'm not sure what the state of those was around 2.6.21. The more you can do to narrow it down, the better. If you can rule out hw changes, then you might get some wire captures while doing this on the old and new kernels and look for the differences there. -- Jeff Layton <[email protected]>