open("/dev/cuaaX") is slow

Andrew L. Neporada andr at dgap.mipt.ru
Fri Apr 29 06:48:11 PDT 2005


On Fri, Apr 29, 2005 at 10:30:32PM +0930, Daniel O'Connor wrote:
> > open() time: 2999673 us
> > open() time: 2999706 us
> >
> > Is this 3 second delay necessary? Can I get rid of it?
> 
> man comcontrol
> Try trimming the dtrwait value back and see how it goes.

Thanks you, it does help.
I've thought that DTR signal and associated parameters are ignored while 
working with cuaa devices, they are used only with ttyd.


> 
> (Although I'm not sure why you want to open/close a serial port so frequently)

Some special software I am using works this way :-(

> 
> -- 
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>   -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


					Andrew.


More information about the freebsd-hackers mailing list