Re: Slow Folder Traversal on One system, Fast on Another
Tanthrix <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
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. On Mon, Jan 18, 2010 at 4:09 AM, Jeff Layton <[email protected]> wrote: > On Sun, 17 Jan 2010 20:53:44 -0800 > Tanthrix The Great <[email protected]> wrote: > > > I've got cifs mounted windows share on two linux systems here, an older > > system running Arch Linux with kernel 2.6.21, and a newer Ubuntu system > with > > kernel 2.6.31-17. > > > > If I do "ls -R" on the cifs mounted share (which is on a Windows 7 > machine) > > on the older Arch linux system, it takes about 1/4 of a second to list > some > > 3000 files in 50 or so folders. If I do the same on the newer system, it > > takes 6-7 seconds to read all the files out. These times are repeatable > and > > consistent, and both systems mount the share using the same command. > (mount > > -t cifs -o username=X,password=X //system/share /mountpoint) > > > > This delay is causing a program I use to playback media files (the > MythVideo > > plugin of MythTV) to take 6-7 seconds to load the full directory tree > each > > time I open it, something I do quite frequently. > > > > Are there any tips/tricks out there to speed up the traversal of cifs > > mounted shares? If not, what would you recommend I would to do try and > > figure out what the cause of this delay is? > > > > Everything else on both systems works perfectly, and file transfers from > the > > Windows machine to linux machines go pretty much the exact same speed. > This > > makes me think the network is not to blame, though I'm open to any > > possibilities. > > > > Anything you could recommend would be very much appreciated, thanks. > > Do the times go down if you mount with '-o noserverino'? > > Thanks, > -- > Jeff Layton <[email protected]> > _______________________________________________ linux-cifs-client mailing list [email protected] https://lists.samba.org/mailman/listinfo/linux-cifs-client