5

There is a lot of disk I/O that could be replaced by pipes. The func_create_dat_file takes a list of 50 compressed files, reads each of them and writes the uncompressed data. It then reads each of the 50 uncompressed data files, and writes it out again with the filename prepended. All of this work is done sequentially so can not take any advantage of your ...


4

So many downvotes stimulated me to install FreeBSD (TrueOS) on my 6-core desktop computer to test it myself. (NOTE: I do not recommend trying to install TrueOS alongside other operating systems, because this installation wiped one of my hard drives, even though I tried to install it on a USB drive... Not a user-friendly experience.) As a result, after ...


3

Some user related data of your browser is in /home (e.g. ~/.config/chromium/ or ~/.cache/google-chrome/), so it runs on your hdd. Mounting it on ssd should increase your performance.


3

Factors like PLT indirection or syscall()'s variadic-ness (registers have to be saved to memory) should play little role given that getdents is one of the most expensive calls in Linux. Fully reading an empty directory on my machine costs about 5µs, a 100-item directory 37µs, a 1000-item directory 340µs and a 10,000-item directory 3.79ms. What fdopendir+...


2

I see, the benchmark involves using OpenMP. This is where difference may come from. Check what OpenMP runtime library is being used. Another thing worth looking at - disassembly code or intermediate representation. It can allow you to quickly find differences in instructions being executed. To sum this up, there is no quick and definitive answer to this, ...


1

NVIDIA sells a lot more GPUs to Windows users and OEMs than it sells to Linux users, so I am dubious that NVIDIA would neglect the performance of their Windows drivers, to answer your last question. Now, Minecraft alone as a test app may work very fast with one particular app and OS combination, but as you will see when you look online, the pros will use ...


1

Use the command top to display real-time information about active processes. By default top shows units in kilobytes but you can change this by using ShiftE to change the units of the summary information above the list of current processes and e to change the units of the list of currently running processes. Pressing Shiftm sorts the list by memory or you ...


1

Many of the commands you want "do one thing, and do it well". On the one hand, this means they all look a bit different. On the bright side, this can make it more manageable - to learn one thing at a time :-). I will try to answer directly and succinctly. You asked for the top three: df -h - filesystem usage levels. This includes in-memory filesystems ...


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