Date: Fri, 29 Apr 2005 17:51:17 +0400 From: "Andrew L. Neporada" <andr@dgap.mipt.ru> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: freebsd-hackers@freebsd.org Subject: Re: open("/dev/cuaaX") is slow Message-ID: <20050429135117.GA63735@nas.dgap.mipt.ru> In-Reply-To: <200504292230.40795.doconnor@gsoft.com.au> References: <20050429112634.GA63285@nas.dgap.mipt.ru> <200504292230.40795.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050429135117.GA63735>