Re: NFS write() calls lead to read() calls?
- From: "Ulrich Spoerlein" <uspoerlein@xxxxxxxxx>
- Date: Wed, 28 Mar 2007 15:11:07 +0200
On 3/28/07, Ivan Voras <ivoras@xxxxxx> wrote:
> The traffic flows like this:
>
> -----> ----->
> A B C
> <-----
Have you tested with a small C program or a script to see if it's the
rewriting that's causing reads or is it some weird artifact of scp?
I'm not a big user of scp(1), the reason this problem came up is
because Samba has the same problem too. If our Windows Terminal server
(over)writes onto the Samba-Export (which in turn is NFS mounted from
the fileserver) then we get WRITE *and* READ calls. nfsstat -s shows
that the READ column is increasing just as fast/slow as the WRITE
column.
So while I could work around scp anytime (tar|ssh is better in almost
all cases) there is probably no way to work around Samba.
What kind of C program or script did you have in mind? My C-foo is very weak ...
Cheers,
Uli
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: NFS write() calls lead to read() calls?
- From: Ivan Voras
- Re: NFS write() calls lead to read() calls?
- References:
- NFS write() calls lead to read() calls?
- From: Ulrich Spoerlein
- Re: NFS write() calls lead to read() calls?
- From: Ivan Voras
- NFS write() calls lead to read() calls?
- Prev by Date: Re: Latest -current complete lockup (tcp changes?)
- Next by Date: attempt to fix suspend/resume of AHCI SATA
- Previous by thread: Re: NFS write() calls lead to read() calls?
- Next by thread: Re: NFS write() calls lead to read() calls?
- Index(es):
Relevant Pages
|
|