dave@lsuc.UUCP (David Sherman) (12/17/84)
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