🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David Sherman Mon, 17 Dec 1984 14:56
suggested schedule change to v7
#152
Author: David Sherman
Date: Mon, 17 Dec 1984 14:56
28 lines
1471 bytes
We have a Perkin-Elmer 3220 which is running "Edition VII
Workbench", which is basically v7.

The P-E service people here in Toronto were looking at scheduler
problems for another customer. It seemed that when many processes
were running, the scheduler would lock some out for quite a long time.
They found that the following change solved the problem:

in slp.c, routine setrun():

	if(p->p_pri < curpri)
		runrun++;

changing the test from < to <=, so it reads
	if(p->p_pri <= curpri)

This code goes back to v7 (it's identical to the version we had
on our 11/23 last year). Does anyone know whether this is a correct
fix? Are there any problems likely to result from making this change?
I think I understand the rationale behind it, but I don't know enough
about the v7 scheduler to be sure.

Dave Sherman
The Law Society of Upper Canada
Toronto
-- 
{utzoo pesnta nrcaero utcs}!lsuc!dave
{allegra decvax ihnp4 linus}!utcsrgv!lsuc!dave
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads