Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 13:44:05 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        mjacob@feral.com
Cc:        current@freebsd.org
Subject:   Re: > 4GB with NFS?
Message-ID:  <14960.28209.622301.752510@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.21.0101250841150.13858-100000@beppo.feral.com>
References:  <Pine.BSF.4.21.0101250841150.13858-100000@beppo.feral.com>

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

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




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