public inbox for
 help / color / mirror / Atom feed
* Max 50% usage on dual-core CPU
@ 2007-11-12 20:33 Chris Stanley
  2007-11-15 19:22 ` Chris Stanley
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Stanley @ 2007-11-12 20:33 UTC (permalink / raw)
  To: pthreads-win32

I'm working with ffmpeg which uses Pthreads-w32 in Windows XP Pro SP2. 
I've used both Pthreads-w32 2.8.0 and 2.9.0 (which as far as I can tell 
doesn't exist, but is bundled with the Celtic Druid ffmpeg binaries 

When using a single-core system (Celeron 2.5Ghz), everything is fine and 
ffmpeg/Pthreads-w32 eagerly uses 97-99% of my CPU.  But when I move the 
same code to a dual-core system (P4 3Ghz), it will never exceed exactly 
50% of the CPU.  By default it uses both cores at about 20/30.  If I 
change the affinity and restrict it to one core, then it uses the whole 
thing but again won't exceed exactly 50% of the total CPU.  I get the 
same results reading from and writing to a flash drive, so I don't think 
it's an I/O bottleneck.

I'm posting this to the ffmpeg list as well, but it seems like this 
could be something related to Pthreads-w32.  Does anyone have any 
thoughts about what might be going on?



Chris Stanley

Systems Administrator
                                Office 802-862-1645, x11
Center for Media & Democracy   Mobile 802-324-8415
                                Fax    802-860-2370
294 North Winooski Ave         IM     ChrisStanleyCCTV
Burlington, VT 05401 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-12 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12 20:33 Max 50% usage on dual-core CPU Chris Stanley
2007-11-15 19:22 ` Chris Stanley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).