Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
parallalization and taskset
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Marcofras
n00b
n00b


Joined: 29 May 2023
Posts: 15

PostPosted: Sat Nov 16, 2024 9:13 pm    Post subject: parallalization and taskset Reply with quote

is it possible have parallalization with taskset?
Code:

m@localhost ~/Desktop/bitmap $ time taskset -c 1 ./desc  && time taskset -c 2 ./desc  && time taskset -c 3 ./desc  && time taskset -c 4 ./desc

real   0m0.019s
user   0m0.013s
sys   0m0.006s

real   0m0.014s
user   0m0.013s
sys   0m0.001s

real   0m0.012s
user   0m0.011s
sys   0m0.001s

real   0m0.012s
user   0m0.012s
sys   0m0.000s


four instance of the program are executed simultaniously with save time?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum