Hi,
Okay, so I currently execute an ffmpeg command via PHP to run a video conversion. The Problem I'm Having is during the conversion, the ffmpeg process(es) use up so much CPU/Processing Power (near 100%), which slows down the response of my webserver.
Is there a Way (crontab or script) I can limit the ffmpeg processes to a certain CPU...
Hi all,
I have a C++ program that has a pretty terrible memory leak, about 4MB / second. I know where it's coming from and can fix it, but that's not my main problem. My program is taking up a very large amount of CPU usage and it isn't running as fast as I want it to. I have two different threads in the program. One by itself takes ~50...
I'm checking out the nightly builds of Firefox and Chromium with support of WebGL with a few demos and tutorials and I can't help but wonder about the extremely high CPU load they cause.
A simple demo like this one runs at a sustained 60% of my dual core. The large version of this one maxes out the CPU to 100% and has some visible frame...
How i get the cpu of one process (by its id or som thing like that...) using c++ lang.
...
Is there any Java API for that? How can I read this information.
...
Hello,
My PHP script contains a loop, which does nothing much more than echoing and dereferencing pointers (like in $tab[$othertab[$i]]-> stuff).
It was working great until yesterday, when this script starting being VERY slow (like 50 times slower than before).
After using strace, i figured out that 90% of the time, the script does m...
How I can find processor id with py2.6, windows OS?
I know that there is pycpuid, but I can't compile this under 2.6.
...
is there any faster way to parse a text than by walk each byte of the text?
I wonder if there is any special CPU (x86/x64) instruction for string operation that is used by string library, that somehow used to optimize the parsing routine.
for example instruction like finding a token in a string that could be run by hardware instead of...
How can i get the ipad's CPU usage and memory usage?
...
I have observed that JVM cannot user 8 CPU advantage. Because when a thread runs more than 1 secs, other threds are waiting for it. there is no lock beetween these threds is there any jvm option for this ?
...
I've read of some WMI solutions which are able to read the temperature of the CPU. I've tried this and it doesn't appear to work for Windows XP Embedded running on an Intel Atom based board.
Is there a library or some other solution out there which would work?
...
I'm thinking of optimizing a program via taking a linear array and writing each element to a arbitrary location (random-like from the perspective of the CPU) in another array. I am only doing simple writes and not reading the elements back.
I understand that a scatted read for a classical CPU can be quite slow as each access will cause...
Hi,
Well I'm having a hell of a time trying to get my CPU down under 45% when running my current application. I've tried all sorts of optimization tricks and tips with little success and I'm at a point now where I need a fundamentally
different approach.
Problem and Current Approach
In the main view of my application I have a single ...
Are there any special options to compile nginx for Intel Atom CPU ? I saw an option called --with-cpu-opt the possible values are : pentium, pentiumpro, pentium3, pentium4, athlon, opteron, sparc32, sparc64, ppc64, but I don't see Intel Atom here
...
We have a Win2003 server, where we receive files through NDM and at any time, we would be receiving 6 files from different sources. The CPU on this server is always > 95%, which causes all the componenets to slow down and the server is hung once in every 2 days. We have the latest McAfee running on the server. Any suggestions.
...
Dear Pundits,
I have basic doubt regarding executable stored in ROM.
As I know the executable with text and RO attributes is stored in ROM. Question is as ROM is for Read Only Memory, what happens if there is situation where the code needs to write into memory?
I am not able to conjure up any example to cite here (probably I am ignor...
I am learning multi-thread programming; and whilst practising mutex, I notice that it seems doesn't work correctly on my dule-core laptop.
The mutex code is at http://pastebin.com/axGY5y3c
The result is as below:
count value:t[0]1
count value:t[1]1
count value:t[2]2
count value:t[3]3
count value:t[4]4
The result shows that seemly t...
Possible Duplicate:
Getting CPU temperature using Python?
What is the simplest method of going about this? Also preferably in Celsius.
...
I have a project i've been working on that requires me to retrieve the CPU ID of the computer to create a software licence and check it against the current licens registered.
So, said and done i made 2 programs to make this happen. Then i need to implement this solution into my CLR project.
I notice that i can't add System.Management ...
I'm seeking a(very) short statement(in any language) that can make the CPU busy for like a second or a half. The statement should consume CPU cycles, not IO stuff.
...