Update README.md
Showing
1 changed file
with
17 additions
and
1 deletions
... | @@ -22,4 +22,20 @@ threads is set to the number of logical cpus, the server will always use all | ... | @@ -22,4 +22,20 @@ threads is set to the number of logical cpus, the server will always use all |
22 | cpus 100% but still perform as normal (since all other processes have higher | 22 | cpus 100% but still perform as normal (since all other processes have higher |
23 | priority). If this is run on a virtual machine, the hypervisor will think the | 23 | priority). If this is run on a virtual machine, the hypervisor will think the |
24 | server always needs all available cpu resources given to the machine, minimizing | 24 | server always needs all available cpu resources given to the machine, minimizing |
25 | the risk of letting the hypervisor think that cpu resources can be shared. | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
25 | the risk of letting the hypervisor think that cpu resources can be shared. | ||
26 | |||
27 | ## Compile | ||
28 | |||
29 | Using GCC and pthreads: | ||
30 | ``` | ||
31 | gcc -pthread piloop.c -o piloop | ||
32 | ``` | ||
33 | |||
34 | ## Binary in Repository | ||
35 | |||
36 | The pre-compiled piloop file in the repository is compiled for | ||
37 | ``` | ||
38 | piloop: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, | ||
39 | interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, | ||
40 | BuildID[sha1]=5312cb7d4bc2fab8851badf5ef36ddd91ce2136a, not stripped | ||
41 | ``` | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment