From owner-freebsd-current Thu Jan 25 10:44:23 2001 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id D8CD837B69E for ; Thu, 25 Jan 2001 10:44:05 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id NAA13541; Thu, 25 Jan 2001 13:44:05 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.1/8.9.1) id f0PIi5j20522; Thu, 25 Jan 2001 13:44:05 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 25 Jan 2001 13:44:05 -0500 (EST) To: mjacob@feral.com Cc: current@freebsd.org Subject: Re: > 4GB with NFS? In-Reply-To: References: X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14960.28209.622301.752510@grasshopper.cs.duke.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob writes: > > I came across an embarrassing comparison last night- > > FreeBSD NFS clients (well, i386) stop writing files at 4GB. > > Solaris, with O_LARGEFILE options in the open arguments, does not. > > Does anyone here know what FreeBSD ought to be doing about this? > Or have I missed something? There is no O_LARGEFILE in fcntl.h (it is present > for Solaris, ConvexOS and some other platforms, I believe). I thought the > *BSDs had > 32 bit file support? Or is it only for local filesystems? > > -matt Normal /bin/dd works fine between on 4.2-RELEASE i386s here. This is writing to a raid0 fs on a FreeBSD/i386 server using an nfsv3 mount, udp, 8k read/write size: % dd if=/dev/zero of=bigfile bs=1024k count=5000 5000+0 records in 5000+0 records out 5242880000 bytes transferred in 471.673794 secs (11115479 bytes/sec) This is writing to a software raid5 fs on a Solaris/x86 (2.8) server using an nfsv3 mount, udp, 8k read/write size: % dd if=/dev/zero of=bigfile bs=1024k count=5000 5000+0 records in 5000+0 records out 5242880000 bytes transferred in 1165.859965 secs (4497007 bytes/sec) Maybe you should look at "lmdd" ? Maybe it is either buggy, or it was compiled a long, long time ago? (btw, this is a virgin 4.2 install, with none of my nfs opts in it). Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message