Date: Tue, 2 May 2000 16:52:16 +0200 From: "Lorenzo Iania" <l.iania@sintesi.net> To: <freebsd-hackers@freebsd.org> Subject: Re: lpr: order of print requests Message-ID: <027b01bfb446$0262c100$0500000a@sintesi.intr> References: <017c01bfb11f$ab144c80$0500000a@sintesi.net> <200005012009.OAA18596@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Warren Losh wrote: > LPR queues up the reuqests and prints them in order smallest to > largest to reduce the average wait time for a job at the expense of > having a larger standard deviation in the wait times for jobs. Maybe > this is what you are running into. I don't know if there's a way to > disable this behavior or not. At least that's what I recall lpd doing > years ago when I ran a unix lab in school. I didn't go check the code > to see if it still did that or not. > > Warner > I think you're right, because the process that generates the requests is only one. It consecutively opens pipes to lpr and then closes them. In effect it builds invoices from delivery documents and the printed numbers of invoices is effectively out of order, while the requests are ordered by number of invoice. Each pipe is opened and closed: so the processes are not concurrent: one begins after the other has finished. So, is there a way to disable this strange behavior? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?027b01bfb446$0262c100$0500000a>