Questions tagged as 'cpu'

2
answers

What is "word" of a CPU

In my Operating Systems class the teacher quoted a term that left me a bit confused, which is word of a CPU (Central Processing Unit) and he did not go into the explanation of this term, said that it may have different sizes in relation to the...
asked by 21.02.2017 / 00:09
1
answer

What differs an FPGA for a CPU?

I was looking at some publications about the cryptographic algorithm BLAKE, which was one of the finalists of the SHA-3 competition, whose winner was Keccak . Finally, in the specific section of the book "The Hash Function BLAKE", at the begi...
asked by 12.06.2017 / 20:38
1
answer

Why does Python not use 100% of the processor?

I'm developing a Python application where in some snippets, it requires a lot of CPU for calculations. However, I realize that even at these "bottleneck" points, the CPU never reaches more than 50% use. Of course the program slows down, wh...
asked by 06.10.2018 / 18:57
1
answer

Memory and CPU consumption during a denial of service attack.How to understand statistics?

The following line was in the Ubuntu crontab: */2 * * * * echo -e "'date'\n\n'free' \n\n'vmstat'\n" >> /home/hacker/free_vmstat_output.txt Extract from the free_vmstat_output.txt file two times that I'm int...
asked by 02.08.2017 / 00:16
1
answer

Parallel with only one core?

I'm wanting to parallelize an application, in this case a 'cosine similarity' calculation, but the machine I'm working on has only one core. Paralleling this calculation with only one core will have some significant gain?     
asked by 09.01.2018 / 13:36
1
answer

What do the terms Cpu-time Wall-clock-time mean?

Some documentation (programming) refers to these terms when there is some kind of limitation on CPU usage, for example:    Background tasks are limited by the amount of time   use of the wall-clock .       Background tasks are limited to...
asked by 05.03.2017 / 15:14
1
answer

Python Subprocess checking whenever a new file is added

Need: I need to "observe" a directory, with each new file inserted in this directory I need to make a copy of this file and forward it to an FTP server. What I have: I can send the file via FTP, and I can check the files in the dire...
asked by 19.12.2018 / 22:18
0
answers

What does a numeral prior to an operand in the parentheses mean?

I'm studying assembly, and I found codes to work with TFT / LCD displays, and did not find information about a specific instruction, it moves multiples of a long string from the data recorders to the address recorder, however the recorder addres...
asked by 17.10.2018 / 05:17
0
answers

Git updating PHP system in production increases CPU consumption

I'm looking for ways to upgrade a PHP system into production, which is in AWS. I started using the codecommit, an Amazon GIT repository, and when I have updates, I commit to the production branch and a script updates the load balancer machines....
asked by 06.04.2018 / 15:59
0
answers

How to ensure that a code in a Cortex-A is running at the maximum CPU frequency

When I run a code in C I need to run every 30ms a set of calculations that transforms an image and that is taking up to 100ms which forces me to discard 3 out of every 4 frames I get. How can I ensure that the CPU clock frequency is at its ma...
asked by 18.10.2016 / 15:39