Tagged Questions
1
vote
4answers
50 views
How can i run a piece of code in background?
Can I run a piece of code in background instead of using another script.
[sesiv@itseelm-lx4151 ~]$ cat ./testback2
#!/bin/bash
start_time=$(date +%s)
for i in {1..5}
do
./testscript &
done
wait
...
4
votes
2answers
198 views
`mpirun -np N`: what if `N` is larger than my physical cores?
Say I have a 4-core workstation, what would Linux (Ubuntu) do if I execute
mpirun -np 9 XXX
Will 9 run immediately together, or they will run 4 after 4?
I suppose that using 9 is not good, because ...
5
votes
3answers
374 views
How to speed up my build
I am doing a build on a Linux machine with ubuntu 10.04 on it. I want to know how can I really speed up my build. I have 4 CPUs and lots of RAM. I already reniced the process group to -20. Is there ...
2
votes
1answer
2k views
Should I disable hyperthreading when concerned about performance of single-threaded applications?
I use a i5-2410M processor, which is setup to do hyperthreading by default on my laptop. Considering that this is a 2-core processor, this means it can do 4 threads at a time. This also means that ...