From owner-freebsd-hackers Wed Jun 7 13:23:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-04-real.cdsnet.net (mail-04-real.cdsnet.net [204.118.244.94]) by hub.freebsd.org (Postfix) with SMTP id BEBBC37BB1F for ; Wed, 7 Jun 2000 13:23:23 -0700 (PDT) (envelope-from mrcpu@internetcds.com) Received: (qmail 2016 invoked from network); 7 Jun 2000 20:23:20 -0000 Received: from schizo.cdsnet.net (204.118.244.32) by mail-04-real.cdsnet.net with SMTP; 7 Jun 2000 20:23:20 -0000 Date: Wed, 7 Jun 2000 13:17:33 -0700 (PDT) From: Jaye Mathisen X-Sender: mrcpu@schizo.cdsnet.net To: Mike Smith Cc: hackers@freebsd.org Subject: Re: Odd dir-cache #'s with Samba and moving files... In-Reply-To: <200006071954.MAA01198@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It was mounted soft-updates: /dev/vinum/vinum0 on /d/vol0 (ufs, local, soft-updates, writes: sync 69895 async 508210, reads: sync 297497 async 389496) On Wed, 7 Jun 2000, Mike Smith wrote: > > 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 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message