[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#510624: ITP: pigz -- Parallel Implementation of GZip

Le lundi 05 janvier 2009 à 00:58 +0100, Samuel Thibault a écrit :
> You mean Scheduler Activations?  There's a patch against linux 2.4 ;)
> We're definitely diving into OS research :)

Well it would be nice if things that was research at the time of Linux
2.4 could have turned into usable code now :)

> More seriously, I wouldn't see the kernel being able to "start" threads,
> that's painful to maintain (that's why the LinuxActivations patch hasn't
> been maintained). I'd rather see a way for the process to dynamically
> know how many processors it can currently expect (something like a
> /proc, /sys, /dev or whatever fd with notification), and arrange things
> according to that (starting/stopping worker threads for instance).

The idea of making the kernel itself start new threads is probably not
so great, but a simple mechanism to let a process know when the number
of available cores for it has changed would do the trick without adding
too much complexity.

: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

Reply to: