I have a multi-threaded application(C++ and pthread library) and I will like to know how much resources(CPU and memory) each thread uses.
Is there a way to find out these details on Solaris and Linux both or on either of them.
...
I'm looking for a way to measure the cpu usage for different methods in my java code. I understand that this can be achieved using JNI and C, but I wouldn't know where to start...
The purpose of this is to compare different algorithms, and provide qualitative results.
...
Hello.
I have been using shared pointers for soem time now, and I have performance issues in my program... So I'd like to know if shared pointers lead to performance decrease. If so, then how hard? Thanks alot.
My program is multi-threaded, using std::tr1::shared_ptr
...
I have a Silverlight App that presents the user with a pretty straighforward form to fill in. The labels (TextBlocks) and the Fields (TextBoxes) are laid out in Grid as you might expect. We had a problem that when one TextBlock had its Opacity set to 0, the application would constantly re-render itself as verified by turning on the ena...
How does one increase or decrease the frequency scaling factor , or turn off frequecy scaling ?
how to turn ON or OFF cpuidle state ?
how to switch between tickless and non-tickless ?
how to make sense of the data obtained form commands like top , memstat, iostat, netstat etc
how to turn ON/OFF power management option ?
how to manipulat...
How do I maximize the CPU usage for my application? I tried setting it to "Real-time" in the Task Manager, but there was no noticeable improvement - it's stuck at 50%.
I'm working in Windows XP with Visual C++ 2005.
...
How do you change the governor from Ondemand to powersave(say) for P-states ?
How do we do the same thing for C-states ?
...
I want to know how much my application uses CPU time of each core while executing as well as the length of time it takes for program to end. for the latter I use linux "time" command. for the former I think I must use something like "mpstat". however I want mpstat to generate some logs only during my application execution and I don't kno...
Before moving to the SQL Server 2005 cluster we had on avarage 60% CPU load. After moving to active/passive cluster (with the exactly same hardware), the load on active node CPU is becoming 100% and after a while time-outs are comming from our web application. Any ideas what could be a couse?
Additional info:
OS: Windows Server 2008 Ent...
I use Python 2.5.4. My computer: CPU AMD Phenom X3 720BE, Mainboard 780G, 4GB RAM, Windows 7 32 bit.
I use Python threading but can not make every python.exe process consume 100% CPU. Why are they using only about 33-34% on average?.
I wish to direct all available computer resources toward these large calculations so as to complete t...
Hi,
I've found various ways to track down CPU's and RAM's usage from within a process, in C#. I'd like to obtain those infos for an external program (like providing its PID).
Is there anything in the .NET framework that can help me?
Thanks
...
Hi there.
We have an web application in Linux environment that the CPU sometimes goes up to 99%.
Sometimes it takes days, and other times it takes minutes. We are using Hibernate with Spring in a tomcat webapp and an Oracle Database.
Checking the logs it appears the following:
"ConnectionManager - transaction completed on session wit...
I'm making a C# program, in my program, its call another program. The problem is the program that I called, its consume 100% of CPU. So I want to limit it to a const percentage of CPU usage. Its is posible and plz show me how. Thank you.
...
I'm fairly new to Google App Engine and Python, but I did just release my first real-world site with it. But now I'm getting problems with one path that is using significantly more CPU (and API CPU) time than the other paths. I've narrowed it down to a single datastore fetch that's causing the problem: Carvings.all().fetch(1000)
Under t...
I am looking at the Activty Monitor for SQL Server 2005 and we have some processes that are taking up large amounts of the CPU. When I look at what is trying to be run I get:
set transaction isolation level read committed
This code is not coming from any of our applications.
What is causing it?
What should be done?
...
Hi All:
I've developed some web-based applications till now using PHP, Python and Java. But some fundamental but very important questions are still beyond my knowledge, so I made this post to get help and clarification from you guys.
Say I use some programming language as my backend language(PHP/Python/.Net/Java, etc), and I deploy my...
I am doing a lot of file searching based on a criteria in multiple iterations from my Perl script and it seems to take up 100% of the CPU time. Is there a way to control my script CPU utilization? I read somewhere about putting empty sleep cycles in my script. But I am not sure how to do this.
...
I'm going to be writing a multi-threaded shared memory messaging system for ultra high-volume message delivery between processes. The messages will originate from the worker threads of a web-server. I'd like to exploit the CPU cache locality that cores on the same CPU share. So that when I wake up a worker thread on the receiving end of ...
We have a massive spreadsheet which does a lot of calculations and not much drawing / writing to spreadsheets
My question is : Does monitoring the spreadsheet whilst it is running via RDP actually make this slower??
Put differently if rdp was disconnected would this result in improved speed??
...
I'm trying to recognize a run away threads in my own application and close them for good before they render machine inaccessible.
However, I can only get CPU time for the thread, that is limitation of API I'm using. Is there any way to evaluate CPU utilization from that data?
I was thinking about comparing it to real time and if it is ...