Personal computing discussed
Moderators: renee, Flying Fox, Ryu Connor
Crayon Shin Chan wrote:I haven't compiled it myself. I think you need to compile it with profiling hooks to profile a binary, right?
RIght now it seems it has 23 threads, but only one is obviously doing any work that's bottlenecked by the CPU, because when I set the affinity to more than 1 core, the CPU usage for the core that was running it drops.
Crayon Shin Chan wrote:Surely it'd be better to keep the single threaded program (ffmpeg2theora) on the same core all the time so you don't have to waste intercore bandwidth copying/syncing L2/L1 caches. I understand video encoding doesn't benefit too much from caches because the data just flows in and isn't used again, but still, why does WIndows pass the single thread around to every CPU in my Phenom II X6? Instead, I have to set the process's affinity to run on one CPU... surely I shouldn't have to do this all the time?
Looking for Knowledge wrote:When drunk.....
I want to have sex, but find I am more likely to be shot down than when I am sober.
Crayon Shin Chan wrote:Surely it'd be better to keep the single threaded program (ffmpeg2theora) on the same core all the time so you don't have to waste intercore bandwidth copying/syncing L2/L1 caches. I understand video encoding doesn't benefit too much from caches because the data just flows in and isn't used again, but still, why does WIndows pass the single thread around to every CPU in my Phenom II X6? Instead, I have to set the process's affinity to run on one CPU... surely I shouldn't have to do this all the time?
Looking for Knowledge wrote:When drunk.....
I want to have sex, but find I am more likely to be shot down than when I am sober.
Heiwashin wrote:Come to think of it, would raising the processing priority take care of that problem?
Heiwashin wrote:Come to think of it, would raising the processing priority take care of that problem?
Buub wrote:Heiwashin wrote:Come to think of it, would raising the processing priority take care of that problem?
It's not a problem, that's my point! This stuff is very highly tuned by the Windows kernel team. It wouldn't do this if it was a problem.
just brew it! wrote:Buub wrote:Heiwashin wrote:Come to think of it, would raising the processing priority take care of that problem?
It's not a problem, that's my point! This stuff is very highly tuned by the Windows kernel team. It wouldn't do this if it was a problem.
Yup, and "it's not a problem" is the point I was trying to make (unsuccessfully, I guess) in my first reply.