performance

Improving DNF Update Speeds with max_parallel_downloads

2024/10/12

How to improve download speeds during system updates by adjusting the max_parallel_downloads setting in DNF.

Bash script performance issue and remediation

2024/06/17

I was looking at writing some output to files. The output did not vary much but the number of lines was huge. It was long time back so I dont remember the context of the requirement but I needed to …

scripting – performance improvement with file open

2020/04/20

Sometimes just one line of code can make all the difference. I will show you with example. Here is script with 2 functions. Both are writing some lines of text to a file. First function, “a” I have …

glances – new way to look at contention

2018/06/04

glances is like top/htop but little different. It shows you sort based on contention (smartly and automatically) unless you change that and hence if you just want to check what is biggest bottleneck …

change the output format for time command

2016/08/16

If you are doing some scripting and using ‘time’ command, then you know sometimes it becomes difficult to capture the output as the output would be something like this: : amit ; time ls real 0m0.002s …

ionice – renice you IO activity for the process.

2015/04/13

ionice is utility provided by the package util-linux. Description of util-linux: […] […] With the help of this utility, you can set the scheduler priority for your IO scheduling upto …

perl is faster than bash in some cases.

2011/01/11

Some days back, I had to generate some data to be uploaded to a database. As usual I assumed that bash should be faster and hence wrote the script to create the files in bash. But I found that even …

Are you swapped? Increase the performance of Linux machine.

2010/07/14

With the ever increasing cost of the Hardware, the amount of physical RAM available on the system is increasing day by day. For example, couple of years back, I had a system which was very high end …

Visualizing system performance data

2010/06/25

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category […] $ vmstat 2 10 | awk 'NR > 2 {print NR, $13}' | gnuplot -e “set terminal png;set …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it