Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 09:48:48 -0700
From:      "Justin C. Walker" <justin@lilith.apple.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: client-server problem
Message-ID:  <199806301648.JAA13643@lilith.apple.com>
In-Reply-To: Yee Man Chan's message of Tue, 30 Jun 1998 09:53:10 -0400 (EDT) <Pine.SOL.3.95.980630094229.25415B-100000@qbert.rs.itd.umich.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
/*
 * > I don't know about your >1024 problems, but the rest is explainable.  It
 * > has to do with the way memory is allocated in the kernel for network
 * > i/o.  I don't remember the exact details, but it's all put forth quite
 * > clearly in W. Richard Stevens' _TCP/IP Illustrated Vol. 3_, with graphs
 * > and everything.
 * > 
 * > Are you using TCP or UDP?  What kind of link are you going over?  
 * 
 * Thanks for your response. I will consult Stevens' book.
 * 
 * I am using TCP. I don't think anything is going over a link. The program
 * assumes localhost communication, so nothing should be go over a link.
 * 
 * I run the program in SunOS but unlike FreeBSD, 101<=n<=207 is just as fast
 * as <100 and >207 <1025. Why? Is it because SunOS and FreeBSD have
 * different memory allocated in the kernel for network i/o?
 */
	Could be that SunOS uses 256-byte mbufs rather than FreeBSD's
128.  Unless this is SunOS 5 (Solaris), and then the buffering scheme
is completely different (but with possibly similar profiles; I've
never looked at Solaris).  I'd think that the crossover points for
256-byte mbufs would be <= 228, 229 - 464, > 1024, but here, the
details really matter.

Regards,

Justin

Justin C. Walker, Curmudgeon-At-Large   *
Institute for General Semantics         | They sentenced me to 20 years
Apple CoreOS Networking                 |       of boredom
Apple Computer, Inc.                    | For trying to change the system
2 Infinite Loop                         |       from within
Cupertino, CA 95014                     |               LC
*---------------------------------------*------------------------------------*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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