Re: Test results: HZ and DEF_PRIORITY values

Egil Kvaleberg (egil@kvaleberg.no)
Thu, 14 Jan 1999 09:20:09 GMT


On 12 Jan 1999, Steve Bergman wrote:

> My question is, what would have to be done to get the advantages of the lower
> DEF_PRIORITY without trashing the implementation of 'niceness'?

What is wrong with something in-between? E.g. assuming a HZ of 1000, then
why not use, say:

#define DEF_PRIORITY (2*HZ/100)

Shouldn't that in general cut timeslots into 1/10th, and still allow
niceness?

Egil

-- 
Email: egil@kvaleberg.no  Voice: +47 22523641, 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.no/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/