Tag Info

Hot answers tagged

105

To see what mds and more importantly its child mdworker is actually doing - use fs_usage to log what files it is opening: sudo fs_usage -w -f filesys mdworker Though there is a lot of unintelligable stuff in there, it does tell you when it opens a file to begin reading from it. Copying a PDF into my filesystem shows mdworker opening the file then ...


51

consume.exe from the Windows Server 2003 Resource Toolkit can do this easily. C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\x64>consume -cpu-time -time 5 Consume: Message: Time out after 5 seconds. Consume: Message: Successfully assigned process to a job object. Consume: Message: Attempting to start 256 threads ... ...


28

In the rare case that you would like to disable spotlight, use the following command: sudo mdutil -a -i off To re-enable: sudo mdutil -a -i on


28

Load average is a gauge of how many processes are on average, concurrently demanding CPU attention. Generally, if you have 1 process running at 100%, and it just sits like that for all eternity, you can expect all values to approach '1'. Generally, this is as efficient computing as you can get, no losses due to context-switches. However, on modern ...


23

IntelBurnTest and Prime95 are known for doing just this. They don't really require installation, as they can be run by unpacking their respective zips, but it doesn't fulfill your "must be native" requirement. I'm an overclocker, and these are the tools I use to ensure absolute system stability, they will generate the utmost load from your computer. As for ...


21

A tight loop in VBS with no I/O will do it. You'll need as many processes as cores. The following will use 100% on my Win2k3 VM, or 50% on my dual-core host (100% if I launch 2) c:\test\>copy con thing.vbs While True Wend ^z c:\test\>thing.vbs You'll have to kill wscript.exe in the task manager to end it.


18

Make sure that the "Show processes from all users" checkbox is checked at the bottom of the process list in Task Manager, so that all processes are show.


17

AFAIK top shows the CPU usage in relation to the power of 1 core, i.e if your task takes up 200% CPU then it's occupying two cores.


16

As long as the system is adequately cooled, it won't be a problem. For a laptop, this is a greater concern and you would be well advised to make sure that vents have adequate clearance and that the ambient temperature is kept in check. You'd also want to clean the dust out of the system every so often too. The same routines apply to desktop systems too, but ...


15

The following batch file does it: @echo off :loop goto loop However, if you have multiple cores, you have start multiple instances. To stop, press Ctrl+C in the console.


15

The CPU processes (performs instructions on things, such as adding) stuff in memory. RAM is just part of the memory pyramid (see below). So when you are processing lots of data, that data ( or maybe large portions of it) will likely get loaded into RAM so it is ready for the cpu, this is to speed things up because RAM is faster to access than storage ...


15

This can be caused by a faulty driver or other module loaded by the system. To look inside the System process, you can use a tool like Process Explorer. Download and run it, then select the System process, right-click and select Properties: Switch to the Threads tab (ignore the dialog box that mentions symbols): This will show which file is using the ...


12

top - The classic approach htop - The colorful approach mpstat - The plain and simple Notes If you're wondering how to read the CPU load from the output of top or mpstat, please look at the idle values they print. The CPU load is the difference between 100% and the displayed value. If you think that that's weird, please see our question: How is ...


12

Process Explorer is a much better tool for inspecting processes than the built-in Task Manager. While it might not answer your question completely, it may give you more insight into the problem.


12

A tick is an arbitrary unit for measuring internal system time. There is usually an OS-internal counter for ticks; the current time and date used by various functions of the OS are derived from that counter. How many milliseconds a tick represents depends on the OS, and may even vary between installations. Use the OS's mechanisms to convert ticks into ...


11

It's the same relationship as your brain have with a book. The faster brain = the faster your read, the bigger the book = the more pages it can contain.


11

Wireshark finally runs on Windows 7 64-bit, and I find my answer. When running wireshark during one of these incidents on my laptop, the Interface Capture screen shows that my TAP-Win32 Adapter V9 is accumulating packets at a very high rate. Capturing that interface shows that the packets are a sequence of DHCP requests: Discover, Offer, Request, NAK -- ...


11

about:memory shows Firefox's memory usage details. There's also a button on that page that allows you to minimize memory usage.


10

You can use the ps command to query and display the active processor. For example, you might run: $ ps -aF UID PID PPID C SZ RSS PSR STIME TTY TIME CMD root 1 0 0 5971 1764 1 Sep15 ? 00:00:01 /sbin/init ubuntu 28903 2975 0 3826 1208 0 09:36 pts/0 00:00:00 ps -aF The PSR column shows that init is ...


10

This is a bug in Flash. I have no idea what has caused it (and written about it in previous answers). It is something about certain movies that when compiled, take up very high (sometimes maximum) amounts of CPU when in any web browser. I have a few complete flash sites where the CPU never goes above 2% and then I can see a tiny advert in a square on a ...


10

73 degrees is a little high if you ask me. The RPM of your fan is determined by a host of things but ~4000 is fine I tend to like slower fans that move more air because they are quieter. If the noise is bothering you buy a large fan/heatsink for $30-40 and replace it EDIT: After seeing the pics... That looks like a stock CPU fan, I'd replace it with ...


10

I think I found my problem—one or more of the files on my desktop. After moving the various clutter off my desktop, the Finder stopped using so much CPU. I suspect that it was either calculating folder sizes (as Benjamin Schollnick mentioned) or maybe trying to create an icon preview.


9

Simply put, do not use Excel for this sort of thing. You may be able to look at Excel services (add on to sharepoint) which is meant to off-load processing, however I have no experience with it. If you are doing something that complicated, you really want to look in to serious mathematical tools that can scale to multi cpu environments - However, I wouldn't ...


9

It seems that the answer is available at last! So I have no second thoughts about answering my own question ;) To the point: development snapshot of Opera 12 (12.00-1359) introduced the opera:cpu tab. Opera 12 hit the virtual shelves on June 14, 2012, so problem is solved. It's not very detailed, but completely sufficient for answering my initial question. ...


9

100% usage is probably the goal of the CPU as it's always working. The downside is that you can't put any more load on it. It's OK to run a computer at 100% CPU. As long as your cooling systems are working, there shouldn't be any problems. If your cooling systems aren't working, heat will shorten the life of your computer.


9

I usually open an Internet Explorer window for each logical CPU, navigate to http://www.fossiltoys.com/cpuload.html, and set 100% load. This doesn't require any installation, and can effectively generate 100% CPU load on a machine.


8

I know that you can pull up task manager and look for your application that is running. Right click on the application in the task manager and select Affinity. Then you can select the processors you wish to use.


8

The load is the average number of runnable processes. man 3 getloadavg says: The getloadavg() function returns the number of processes in the system run queue averaged over various periods of time. Up to nelem samples are retrieved and assigned to successive elements of loadavg[]. The system imposes a maximum of 3 samples, representing averages over ...


8

The common purpose of graphics cards it to produce immediately visible graphics, whether it is rendered 3D games, producing a visual graphical user interface, or more lately decoding video to be viewed on a monitor. If you are encoding 16 data streams to be sent to other machines to be rendered to screens by those machines then this is different to how the ...


8

If you have adequate cooling, then no. In general, your computer should be able to sustain 100% load for long time. (I've run my laptop for days under 100% load for CPUs and GPU and didn't have any problems). Also, if your computer is relatively new (say less than 5 years old) it will shut down automatically in case it overheats. My recommendation is to ...



Only top voted, non community-wiki answers of a minimum length are eligible