Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cherkus@fastball.unimaster.com
Subject: Re: OSF/1 + Oracle7 performance with interactive & batch jobs
Date: Wed, 7 Sep 1994 03:41:29 GMT	[thread overview]
Message-ID: <Cvqq95.G7u@mv.mv.com> (raw)
In-Reply-To: 1994Sep5.191932.1@cc.helsinki.fi

jaakola@cc.helsinki.fi wrote in article <1994Sep5.191932.1@cc.helsinki.fi> :
>
>We have a DEC 4000/610 with OSF/1 V1.3 running Oracle7 7.0.15.4.
>We have about 55 interactive SQL*Forms 3.0 users and we run at the same
>time about 5..10 batch reports. We use MTS with 10 server processes. We
>have 196 MB RAM and the exp dump file size is about 500MB.
>
>We have a performance problem: when we have many large batch reports
>running the interactive response time is slow. And when I look at
>"vmstat" output, the run queue is about 15. I think that the problem is
>that the big reports are very CPU intensive (after having loaded all
>their data into Oracle databases buffers in RAM) and that they use all
>of their CPU timeslice. So the interactive processes have to wait long
>before they get their slice of the CPU - i.e. the run queue is long.

Sounds reasonable. I assume you've tried using 'renice' to push
down the scheduling priority of the big jobs.  

FYI, I have an alias that expands to:

ps axo pid,pri,cp,pcpu,pmem,usertime,systime,sl,nvcsw,nivcsw,ucomm

which prints many things, among them IVCSW, the number of involuntary
context switches.  This should show you which procs run out of time and
get preempted.

>How do I reduce the maximum timeslice a CPU-intensive process can get in
>OSF/1? I read man an hour yesterday without getting any info. They
>referred to a printed manual which I don't have at hand.

You can't with the standard kernel - it's hardcoded.  If you build a
real-time kernel, I believe each process can call posix style library
functions to ask for custom schedule policies.  I think you can then
write small wrapper programs that set the policies you want then exec
your apps.  But please don't go on this - get out the real-time manual
and make sure I'm remembering all of this correctly.  And the real-time
kernel has plusses and minuses: the extra functionality adds
path length to many things.

--
Dave Cherkus          UniMaster, Inc.         cherkus@unimaster.com 


  reply	other threads:[~1994-09-07  3:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-05 17:19 OSF/1 + Oracle7 performance with interactive & batch jobs jaakola
1994-09-07  3:41 ` cherkus [this message]
1994-09-07 19:52   ` jaakola
1994-09-15 19:50     ` Frank Abney
1994-09-07 16:35 ` Frank Abney
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox