9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* faster u9fs
@ 1995-09-15 17:22 forsyth
  0 siblings, 0 replies; only message in thread
From: forsyth @ 1995-09-15 17:22 UTC (permalink / raw)


if your unix tcp/ip implementation has the TCP_NODELAY option,
try enabling it in u9fs:

	int one = 1;
	setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &one, sizeof(one));

you'll have to scour the heap of include files in /usr/include
to find the one with the TCP_NODELAY option in it.

i found it made a difference on our rs/6000 systems.

9P uses many small reply messages, which are subject to the delay.
(the system waits to see if more data turns up to make the
packet really worthwhile, but in this case it just makes it less responsive.)






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-09-15 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-09-15 17:22 faster u9fs forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).