From owner-freebsd-current@FreeBSD.ORG Fri Mar 4 22:44:57 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEF1916A4CE for ; Fri, 4 Mar 2005 22:44:57 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11E0143D1D for ; Fri, 4 Mar 2005 22:44:57 +0000 (GMT) (envelope-from tlpbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so969984wra for ; Fri, 04 Mar 2005 14:44:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=US93T75963J86omUGu/ISho26iYh8Zsrtglw1bbHYgkCaTuCibK2PlcIsEGjNNpmWb3qzPYfFw48mSJphf+3MraaeqSayr63kSMa8SHYenY8rvozkLcZ8ezIxiffBQba8f6H+TLEjWK+mPlh6zZVWwMkFALHrStaoX8pa/JOiLQ= Received: by 10.54.38.39 with SMTP id l39mr91870wrl; Fri, 04 Mar 2005 14:44:54 -0800 (PST) Received: by 10.54.15.9 with HTTP; Fri, 4 Mar 2005 14:44:54 -0800 (PST) Message-ID: <9533da6c050304144418c9a794@mail.gmail.com> Date: Fri, 4 Mar 2005 15:44:54 -0700 From: Travis Poppe To: freebsd-current@freebsd.org In-Reply-To: <9533da6c0503041419542551c8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <9533da6c0503041419542551c8@mail.gmail.com> cc: tlp@liquidx.org Subject: Re: mount_smbfs has terrible transfer rates on my 5.3-R box X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Travis Poppe List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 22:44:57 -0000 Whoops, Forgot to post my kernel configuration. After looking through it, I just realized that I do have PREEMPTION enabled. Is this a likely candidate for the problem? (PREEMPTION fixes a very annoying sound distortion issue with the emu10k1 driver/SB Live! 5.1 that I have on my box. Search the current lists for 'sound distortion' or something and you'll find it). I'll try to test this with a GENERIC kernel later on today. Anyway, here it is: machine i386 cpu I686_CPU ident MAYA options SCHED_4BSD # 4BSD scheduler options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC # Bus support. Do not remove isa, even if you have no isa slots device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # Added configuration device atapicam # TV Card Support device bktr device iicbus device iicbb device smbus options SC_PIXEL_MODE # High resolution VESA console support options PREEMPTION # Fixes sound problems --end-- On Fri, 4 Mar 2005 15:19:49 -0700, Travis Poppe wrote: > Hello, > > Decided I better report this just in case it is an unknown problem. > > Somewhat recently, I was pulling my hair out because I couldn't figure > out why transfers between my FreeBSD box and a family member's XP box > were so slow. For some reason, it never came to me that it might be > mount_smbfs causing it, which was the last thing I ended up testing. > It turns out that it was responsible for the slow transfer rates. > > Anyway, when copying files using mount_smbfs as opposed to smbclient, > I get about 20-25% of the potential speed on my network > (100baseTX-Full Duplex). When using smbclient, there appears to be no > transfer rate problem whatsoever. > > I'm running FreeBSD 5.3-RELEASE, I've tested this using both a RealTek > card (forget which) and my current 3Com card: xl0: <3Com 3c905C-TX > Fast Etherlink XL> > > Thanks, > > -Travis Poppe >