tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pty(4) 1024 bytes buffer limit



On Sep 8, 2011, at 14:45, Thor Lancelot Simon wrote:

> On Thu, Sep 08, 2011 at 11:26:29AM -0400, Matthew Mondor wrote:
>> 
>> It would be nice to for instance be able to use an MTU of 3000 so that
>> there are less context switches, but unfortunately tracing the
>> processes show that 1024 bytes are read from the pty devices at most.
> 
> Are you sure using an MTU of 3000 would do much of anything?  Since
> almost all peers are connected by Ethernet somewhere along the line,
> you are unlikely to ever see packets larger than 1500 minus Ethernet
> framing size.

... unless they're using jumbo frames. Potentially 9Kbytes, depending upon NICs 
and switches.

        Erik <fair%netbsd.org@localhost>



Home | Main Index | Thread Index | Old Index