Matlab programs run faster on laptop than on dual quad
7 次查看(过去 30 天)
显示 更早的评论
Is there something wrong? I run the same program on my laptop and my desktop, same version of Matlab (desktop has XP, laptop vista). All the quad cores are being used What is slowing Matlab down on the desktop, should it not run faster than a laptop? Thanks, any help appreciated.
0 个评论
回答(5 个)
Sean de Wolski
2011-7-21
Same thing happens to me!
I use an 18GB RAM, 3.0GHz quad-core desktop that's slower than my 2.5GHz 4GB RAM dual core laptop; both Macs, both same generation/software versions/OS versions etc.
0 个评论
Jason Ross
2011-7-21
I'm not really all that surprised, as you don't post the actual hardware specs of the laptop and desktop host. But on a basic level, you have:
- different system boards (bus speeds, memory speeds, hard drive speeds, memory bandwidth, network speed)
- different operating system version (drivers are different, architecture is different)
And you might also have
- different programs running on each machine (AV client, Outlook, other utilities, system path is different)
- different processors (hyperthreading versus no hyperthreading, clock speed, cache)
- different bitnesses (32 versus 64 bit)
Also, is everything local to the machine(s) in question, or are you running from a network drive?
Sean's setup is much more of an Apples to Apples comparison.
0 个评论
Jan
2011-7-21
How bizarre! Please post the relevant part of the code and the Matlab version number.
- If you create a comlex OpenGL animation with a lot of intersecting triangles, the higher screen resolution of the faster computer can eat up all speed advantages.
- A naive multi-threading approach can be counter-productive: Starting 8 threads on a 4-core hyper-threading processor to filter a 20x8 matrix consumes more time than performing the complete operation in the main thread. Especially the mutual invalidation of the cache-lines would waste a lot of time. But as far as I know, no MATLAB function uses such too naive methods.
- A virus checker can need a lot of processing time, e.g. if it checks each file access and a file is written byte by byte.
0 个评论
sushmitha kp
2019-3-8
This is my system specs, it really takes hours together to load start page of matlab 2018a.How do i really deal with it,i am working in simulink on vehicle modelling,bad interface of matlab with the system making it very hard to work with it,help me in resolving it.0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Licensing on Cloud Platforms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!