From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e7be033efe10b44 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-07 07:24:51 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!udel!news.sprintlink.net!mv!usenet From: cherkus@fastball.unimaster.com Subject: Re: OSF/1 + Oracle7 performance with interactive & batch jobs Message-ID: Nntp-Posting-Host: fastball.unimaster.com Sender: usenet@mv.mv.com (System Administrator) Organization: UniMaster, Inc. Date: Wed, 7 Sep 1994 03:41:29 GMT References: <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