*BSD News Article 72176


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.misc
Subject: Re: Queuing Question
Date: 26 Jun 1996 16:34:15 -0500
Organization: Coverform Ltd.
Lines: 22
Message-ID: <4qsacn$l7@anorak.coverform.lan>
References: <4qn5nu$svs@pulp.ucs.ualberta.ca> <31D09F31.6DB0F89A@lambert.org>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Terry Lambert (terry@lambert.org) wrote:
: Nadine Leenders wrote:
: ] I've set up a couple of queues under SunOS Release 4.1.  One the of
: ] queues processes large jobs that take about 1.5 to 3 hours to complete
: ] and the other small jobs that take about 2 minutes to complete.

: How can you tell a job will be a small job?  Or rather, how
: can the queue ordering software tell to provide the ordering
: you want?

I think you're missing the point - it's much highter level. Nadine
is saying that ipcs -q shows two queues owned by two different
processes (say A & B).  I post to queue A with process X, and before the
reply comes back, post to queue B with process Y.  The suggestion is that
if the turnaround of process B is 2 seconds and the turnaround of process
A is two hours, the B reply has to wait until the A reply has been sent.

This is clearly not the way independent queues work.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....