SUMMARY: (NO SUMMARY) Setting serial line receive buffer size?

From: Homan, Charles (NE) (Charles.Homan_at_GDC4S.Com)
Date: 05/23/03

  • Next message: Mike's List: "OT: Recommended Book"
    Date: Fri, 23 May 2003 13:41:18 -0400
    To: "'sunmanagers@sunmanagers.org'" <sunmanagers@sunmanagers.org>
    
    

    Sorry for the delayed summary, but I got no responses, and I found no answer
    to my original question. However, the symptom the engineers saw (two minute
    "pauses" during FTP transmissions) went away once they turned off all
    compression options but one in the /etc/ppp/options file on each machine.

    Regards,
    /charles

    ObDisclaimer: These comments are mine and don't necessarily reflect the
    views of my employers.

    -----Original Message-----
    From: Homan, Charles
    Sent: Friday, May 09, 2003 9:20 AM
    To: 'sunmanagers@sunmanagers.org'
    Subject: Setting serial line receive buffer size?

    Greetings, colleagues,

    I have a user who wants to tweak his serial port receive buffer "trigger
    point" on a SunBlade 100 running Solaris 8. I'm sort of assuming this is
    possible - even *I* know how to do it on Windows, and that is saying
    something... ;-) Unfortunately, I can't find any info on how to go about it,
    so now I'm starting to wonder if it is indeed possible. I guess I'm also
    assuming that Sun serial ports work the same as PC serial ports - that is,
    that they collect a certain amount of data in a small buffer and then signal
    the processor with an interrupt to come and get the data. I have no idea if
    that is a correct assumption or not.

    Some background: The user is developing an application using PPP over the
    serial port between two SunBlades. The line is connected by two long-haul
    modems which could theoretically be miles apart, but in the lab are about 10
    feet apart. They are trying to FTP over the line, and are seeing 2 minute
    breaks in the connection. That is, FTP transfers some data, stops for two
    minutes, transfers a little more, stops for two more minutes, etc. I have
    to admit that I am not really involved in the diagnosis of this problem, but
    they believe that tweaking the receive buffer will help them out, and I
    would like to be able to tell them how to do that.

    Any help would be appreciated. In the immortal words of Jean Claude van
    Damme, "Teach me." :-)

    Thanks,
    /charles

    ObDisclaimer: These comments are mine and don't necessarily reflect the
    views of my employers.
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Mike's List: "OT: Recommended Book"

    Relevant Pages

    • Setting serial line receive buffer size?
      ... I have a user who wants to tweak his serial port receive buffer "trigger ... point" on a SunBlade 100 running Solaris 8. ... minutes, transfers a little more, stops for two more minutes, etc. ...
      (SunManagers)
    • Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
      ... Can you try two tests (with my patch applied): ... Install also pyserial(in debian ... with the previous comma we open /dev/ttyS1 with the same serial port ... The .flushInputmethod flushes the input buffer: ...
      (Linux-Kernel)
    • Re: Inter-thread communication to pass a job to another thread
      ... have fixed the part of the serial port to the database as I understand your ... In my opinion is the FTP is a File Transfer Protocol, ... In a message I gave Charles the idea to use a queue. ... > ports, store in a database, and forward on using FTP. ...
      (microsoft.public.dotnet.languages.vb)
    • RE: Serial console issues.
      ... Since Linux is seeing this port as a 16750, ... this to only have a 16-byte buffer. ... 16750 with its mammoth buffer size is killing this serial port. ... setserial with the kernel image (also I'd rather not do as I only have ...
      (Linux-Kernel)
    • Re: Some questions on writing data to a serial port?
      ... communication with a device attached to a serial port. ... int serial_write ... while (nbytes < count) { ... buffer cache, which is flushed to the server asynchronously. ...
      (comp.unix.programmer)