This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cpu usage capped?


> I have some code that takes advantage of 8 cores on my machine using
> OpenMP. Under plain ol windows, this code causes all the CPUs to max
> out at 99%. But when recompiled for cygwin, each core jumps to about
> 85%. The rest is not being used by other processes. Could someone
> explain why this is the case?

Obviously, Cygwin gets the job done with less CPU utilization, handing you back
15% of your machine.  And you're complaining?

..mark

P.S. A more helpful response can likely only occur if you spell out more
specifically which varieties of apples and oranges you're comparing.  For
starters: "plain ol windows", is that MSVC or MinGW?  Is disk I/O involved? 
What OS and environment (e.g., VM? TS?).  I'm pretty sure I'm only scratching
the surface here.  We don't know what your code does other than use OpenMP.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]