Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
No problem as soon you have time. Thank very much Olivier Cruilles > Le 13 mars 2015 à 16:40, Benoît Minisini a > écrit : > > Le 13/03/2015 21:31, Olivier Cruilles a écrit : >> Benoit, >> Do you need more information ? >> All I had found on Internet turn around of cpuset and sched_getaffini

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 21:31, Olivier Cruilles a écrit : > Benoit, > Do you need more information ? > All I had found on Internet turn around of cpuset and sched_getaffinity(). > >Olivier > I will look at that later, I have a release to do. Regards, -- Benoît Minisini --

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Olivier Cruilles
Benoit, Do you need more information ? All I had found on Internet turn around of cpuset and sched_getaffinity(). Olivier Le Vendredi 13 mars 2015 13h08, Yahoo a écrit : maybe this can help but I'm not C developer. https://www.kernel.org/doc/Documentation/cgroups/cpusets.txt Cor

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
maybe this can help but I'm not C developer. https://www.kernel.org/doc/Documentation/cgroups/cpusets.txt Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr > Le 13 mars 2015 à 10:24, Tobias Boege a écrit : > >> On Fri, 13 Mar 2015, Beno?t Minisini wrote: >> Le 13/03/2015 14:07,

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Tobias Boege
On Fri, 13 Mar 2015, Beno?t Minisini wrote: > Le 13/03/2015 14:07, Yahoo a ?crit : > > Hello Benoit, > > > > Do you think if it's possible to implement a way to limit a Task to > > use only a number of cpu and better will be to choose witch cpu a > > Task is allowed to use ? > > > > I know that is

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 15:07, Yahoo a écrit : > May be this one ? > > http://man7.org/linux/man-pages/man2/getrlimit.2.html > > Cordialement, > > Olivier Cruilles > Email: olivier.cruil...@yahoo.fr > I don't see in the doc that you can limit the number of cpus. -- Benoît Minisini ---

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
To limit a process to use only specific cpu core I use 'taskset ' command on linux and 'cpulimit' command to limit cpu usage. This one is interesting too: http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups Does it that you ask me ? Olivier

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
May be this one ? http://man7.org/linux/man-pages/man2/getrlimit.2.html Cordialement, Olivier Cruilles Email: olivier.cruil...@yahoo.fr > Le 13 mars 2015 à 09:41, Benoît Minisini a > écrit : > > Le 13/03/2015 14:07, Yahoo a écrit : >> Hello Benoit, >> >> Do you think if it's possible to imp

Re: [Gambas-user] New feature in Task Class

2015-03-13 Thread Benoît Minisini
Le 13/03/2015 14:07, Yahoo a écrit : > Hello Benoit, > > Do you think if it's possible to implement a way to limit a Task to > use only a number of cpu and better will be to choose witch cpu a > Task is allowed to use ? > > I know that is possible to limit at the execution of a process the > number

[Gambas-user] New feature in Task Class

2015-03-13 Thread Yahoo
Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could us