Same code works slower in linux than windows
Show older comments
I am wondering whether it is a common problem that same code works slower when it's under Linux. I tested a same code which about RPCA on image, something like image recovery. And I found the executing time is in Win7 100s but 300s in Ubuntu 11.04.
THX advance.
3 Comments
Jan
on 22 Sep 2011
What is your question? Is this a matching answer: "Then I suggest to use Windows 7"?
Andreas Goser
on 22 Sep 2011
Just to make sure that the OS is the only difference:
Same machines? Same architectures? Same MATLAB Release?
Daniel Shub
on 22 Sep 2011
Often proprietary video drivers are optimized for Windows and inefficiently reversed engineered for Linux. As Jan said in his answer use the profiler to figure out the difference.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!