Questions tagged [utilization]
106 questions
42
votes
9 answers
How to write super-fast file-streaming code in C#?
I have to split a huge file into many smaller files. Each of the destination files is defined by an offset and length as the number of bytes. I'm using the following code:
private void copy(string srcFile, string dstFile, int offset, int length)
{
…

ala
- 7,070
- 13
- 47
- 54
13
votes
1 answer
Calculating Utilization in a Stop-And-Wait Protocol
I have a problem in my book about calculating the utilisation, but I'm not being able to find any substantial information regarding this topic in order to solve it.
Anyway, here's the question:
The distance from earth to a distant planet is…

pneumatics
- 2,836
- 1
- 27
- 27
7
votes
3 answers
Dual-core CPU utilization w/ single Java thread running
Possible Duplicate:
Would a multithreaded Java application exploit a multi-core machine very well?
I have a plain and simple Java thread like this running on my dual-core machine (Windows XP 32bit enviroment)
public static void main(String[]…

njzhxf
- 837
- 1
- 7
- 9
7
votes
4 answers
How to get thread CPU utilization metrics in Redhat Linux
I need to get CPU utilization metrics for all the threads in a process.
Operating system = Redhat linux
programming language = C++ using POSIX
requirements = need to take samples every few seconds indefinetly, not just for one snapshot in time.…
Rtan
7
votes
2 answers
What is MySQL doing?? 100% disk utilization from boot
I have a large database on a Win10 machine, mysqld.exe does a lot of disk I/O, 100%, for hours and hours 100MB/s consistently - mostly writes - persists after numerous reboots. How can I find out what the hell it is actually doing, and stop it? I…

Daniel
- 763
- 1
- 8
- 25
7
votes
1 answer
CUDA Profiler: Calculate memory and compute utilization
I am trying to establish two overall measurements for memory bandwidth utilization and compute throughput utilization for my GPU-accelerated application using CUDA nsight profiler on ubuntu. The application runs on a Tesla K20c GPU.
The two…

Clood
- 107
- 1
- 6
6
votes
4 answers
Too Little CPU Utilization in Java
Hey stackoverflow community!
I'm having an issue where a highly involved algorithmic program is using TOO LITTLE cpu utilization: somewhere between 3 and 4%. It is taking very long to return results, and I believe it's just not working hard…

Overflown
- 1,830
- 2
- 19
- 25
6
votes
5 answers
Windows Azure and dynamic elasticity
Is there a way do do dynamic elasticity in Windows Azure? If my workers begin to get overloaded, or queues start to get too full, or too many workers have no work to do, is there a way to dynamically add or remove workers through code or is that…

Ryan Elkins
- 5,731
- 13
- 41
- 67
5
votes
1 answer
Is there any way or even possible to get the overall utilization of a GPU during a period of time?
I am trying to get the information about the overall utilization of a GPU (mine is an NVIDIA Tesla K20, running on Linux) during a period of time.
By "overall" I mean something like, how many streaming multi-processors are scheduled to run, and how…

rsm
- 103
- 1
- 6
4
votes
2 answers
Increasing CPU Utilization and keep it at a certain level using C code
I am writing a C code (on Linux) that needs to consume a certain amount of CPU when it's running. I am carrying out an experiment in which I trigger certain actions upon reaching a certain CPU threshold. So, once the Utilization reaches a certain…

Ranjeet
- 51
- 1
- 5
4
votes
0 answers
Low GPU utilization issue in PyTorch
I am training a large network like ResNet with very small batch size say 25. When I do that, I get a very low and oscillating GPU utilization. I have seen several posts regarding the low GPU utilization in PyTorch. However, they are suggesting…

kko
- 101
- 1
- 7
3
votes
1 answer
pthread_cond_wait() doesn't make CPU sleep?
All
I have a question about pthread_cond_wait().
In short, I create two POSIX thread in a process,
If I execute the following code, why is cpu utilization full?
I take experiments on it, if I remove comment mark before bool isNodeConnect3,
the…

MOMOSir
- 31
- 1
- 2
3
votes
2 answers
How to calculate CPU utilization effectively using bash?
I am trying to calculate the overall CPU utilization of a single CPU, Ubuntu system using bash. I need the overall CPU usage percent for a system monitoring script I am making. The problem is that when I use the following code the CPU utilization…

Lynx
- 165
- 1
- 11
2
votes
1 answer
Multi-core CPU utilization by Java application
I have a program that sorts big files by splitting them into chunks, sort chunks and merge them into final sorted file. Application runs one thread for loading/saving data from/to file - only one thread does I/O operations. Also there are two more…

Eugene M
- 23
- 1
- 5
2
votes
2 answers
Does a SQL query with fewer attributes cost less?
My question is very simple - Does a SQL query with fewer attributes cost less?
Example:
Let's say our users table have 10 columns like userId, name, phone, email, ...
SELECT name, phone FROM users WHERE userId='id'
is cheapier than this
SELECT *…

pozniakas.
- 37
- 5