Software Archive
Read-only legacy content
17061 Discussions

the speedup was not optimized while increasing the number of threads.

ammouna
Beginner
358 Views

Hi, 

I have installed ubuntu 10.04 in dual boot with windows 7;then I have installed cilk++ in ubuntu 

while running my cilk++ program, the speedup was not optimized while increasing the number of threads.

this problem can be related to the installation of ubuntu in dual boot with windows .? 

Can you help me please!!

0 Kudos
2 Replies
TimP
Honored Contributor III
358 Views
No, I never saw a performance problem with dual boot setup, if linux disk partitions are sufficient and you use native linux file systems. In my experience, Cilk+ threading doesn't perform well when HyperThreading is enabled, in case that may be relevant. The identity of your hardware platform may be relevant; single CPU with shared last level cache may be more likely to gain from Cilk+ parallelism.
0 Kudos
leifblaese
Beginner
358 Views
I have a dual boot with win 7 and fedora - works just fine even with HT. Maybe you could post the code that you tried. Maybe there is an implicit sync or something else you didn't notice at first.
0 Kudos
Reply