Re: thread issue
- From: Robert Baron <robertbartlettbaron@xxxxxxxxx>
- Date: Thu, 4 Aug 2011 10:29:30 -0400
have you tried adding an '&' to the tasks you think can be run in
parallel (as in running them in the background (ie 'mycmd myargs &'))?
On Thu, Aug 4, 2011 at 10:23 AM, lina <lina.lastname@xxxxxxxxx> wrote:
Thanks for suggestions,
Actually I got a job which contains several small jobs inside.
if run the bash script, it will do those one by one and it is pretty
slow, waiting ...
I can run each small jobs separately, but use a bash script kind of
easy to make some changes in amount and manage.
I just wonder are there some simple way to do it?
another question, if I don't have root previlege, can I adjust my nice
level in some cluster? I noticed mine NI was kind of 19, totally crazy
slow.
On Thu, Aug 4, 2011 at 10:15 PM, Frank Lanitz <frank@xxxxxxxxxxxxxx> wrote:
Am 04.08.2011 15:12, schrieb lina:
Hi,
I noticed when make -j 8, the 8 cores can be fully occupied.
can I use some way to enable 8 cores at the same time when I run
something, such as a bash script?
Hard to say as it depends on the software you are running. On shell
scripts you might can do it by intelligent forking of processes doing
the single tasks.
How can I fork of processes doing each single tasks?
Other applications do need to support multi threading in most cases
already inside source code.
Cheers,
Frank
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4E3AA979.7010406@xxxxxxxxxxxxxx
--
Best Regards,
lina
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/CAG9cJm=tNVr2O3oQAPrEA6T-_3pyZ+4PiUGnCxQwGPGQ6z7Q+Q@xxxxxxxxxxxxxx
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/CAA6oTfZb4LBT-+B6jb=NBq=AXCLJtVeP0xeK1meT-VnHjCyTrw@xxxxxxxxxxxxxx
- Follow-Ups:
- Re: thread issue
- From: lina
- Re: thread issue
- References:
- thread issue
- From: lina
- Re: thread issue
- From: Frank Lanitz
- Re: thread issue
- From: lina
- thread issue
- Prev by Date: Re: Running Wireshark as non-root in Squeeze
- Next by Date: Re: thread issue
- Previous by thread: Re: thread issue
- Next by thread: Re: thread issue
- Index(es):
Relevant Pages
|