Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jun 2000 12:54:43 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Jaye Mathisen <mrcpu@internetcds.com>
Cc:        hackers@freebsd.org
Subject:   Re: Odd dir-cache #'s with Samba and moving files... 
Message-ID:  <200006071954.MAA01198@mass.cdrom.com>
In-Reply-To: Your message of "Wed, 07 Jun 2000 12:36:13 PDT." <Pine.BSF.4.21.0006071231390.26845-100000@schizo.cdsnet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

Mount the filesystem(s) async, or use softupdates.

> 
> I wish I would've grabbed a screen shot while it was happening, but I
> didn't.
> 
> In any case, a fairly recent 4.0-stable (last couple weeks), and samba
> 2.0.7.
> 
> The FreeBSD box is doing nothing, except smb, and running systat -vmstat 1
> in a telnet session.
> 
> 
> >From my NT box, I was moving a bunch of files from dir1 to dir2.
> 
> While it was doing the move (several thousand files), the name-cache #'s
> stayed around 98-99%, and 10k hits.  But the dir-cache stayed around 10%
> with 300 or so hits.
> 
> dir1 and dir2 are on the same disk, so essentially just simple
> moves.  Directory structure was only about 3-4 levels deep.
> 
> Any ideas on what knobs and frobs can be tweaked and frobbed to help this
> out?  Or if it's even really a problem?  The moves seemed really slow,
> maybe 2-3 files moved/second.  Of course, I'm sure something in smbd is
> also an issue, but it just seems like that cache should've stayed way the
> heck up there...
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006071954.MAA01198>