> 
> I have an application where I need to receive data constantly on
> a serial port at 38,400. When we write the data to a database,
> we constantly see dropped chars on the incoming serial port.
> 
> Is the stock PC serial hardware capable of sustained thruput at
> 38.4K?  

Easily, modulo other peripherals which can interfere with this.

> Is there an ioctl option or something to improve the buffering
> on the serial ports ?

No.  You probably have a PCI peripheral that's hogging the bus for 
sufficiently long to cause the FIFO in your serial device to overflow.  
IDE disks doing DMA are prime culprits for this, and X servers have been 
known to cause it as well (by disabling interrupts entirely).

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  [EMAIL PROTECTED]
\\ and he'll hate you for a lifetime.             \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to