From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4048ab5d13d5b451,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,4048ab5d13d5b451,start X-Google-Attributes: gid1164f8,public From: jaakola@cc.helsinki.fi Subject: Decreasing maxmimum timeslice to increase interactive performance Date: 1995/08/27 Message-ID: <1995Aug27.213252.1@cc.helsinki.fi>#1/1 X-Deja-AN: 108940665 content-type: text/plain; charset=ISO-8859-1 organization: University of Helsinki mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.sys.dec We have performance problems with CPU intensive processes on an OSF/1 system. We are running Oracle, which has a set of daemon processes which handle SQL requests. There are both interactive processes and big batch reports. There's plenty of RAM, so the batch processes are very CPU intensive. I'd like to limit the maximum timeslice a CPU intensive process can have before it is pre-empted to give CPU to another process. The problem now is that the CPU intensive processes consume long slices of the CPU and interactive users have to wait. I'd like to limit the maximum timeslice so that interactive processes would get CPU sooner, which would increase system responsiveness. So, how can I limit the maximum timeslice? Adjusting priorities (nice etc) is out of the question, because the same Oracle server process can have both batch jobs and interactive sessions (we are using Oracle MTS). I'm running now OSF/1 version 3.2a. Before that we had OSF/1 version 2.0, in which there were a kernel parameter called min_quantum. When we decreased the 2.0 min_quantum from its default value 102 to 51 the interactive response time got much better. The 3.2a too has a min_quantum parameter, but its default value is 10! Is the 3.2a min_quantum the same as the 2.0 min_quantum? Any ideas? -- Juhani Jaakola, jaakola@cc.helsinki.fi