Questions tagged [benchmark]
The benchmark tag has no usage guidance.
133
questions
0
votes
3
answers
65
views
Analogy of dd command real case when performing RW test
I'm doing these two tests:
#1
dd if=/dev/zero of=./testfile1 bs=512M count=1 conv=fsync
And
#2
dd if=/dev/zero of=./testfile2 bs=1M count=512 conv=fsync
Can I say:
#1 is meaning copying (write ...
1
vote
2
answers
92
views
Is there a performance penalty for backgrounding a process?
If I do:
sleep 1
versus
sleep 1 & wait $!
will there be any difference in terms of CPU usage for spawning a foreground process versus a background process? Or will the performance of both lines ...
0
votes
2
answers
59
views
How to figure out if CPU or GPU has been damaged by a thermal spike on Fedora
I have bought a new Asus Rog Strix laptop, and I ran on it Windows for a month without any issue. After I changed OS and putted Fedora 37 on it. My laptop has an NVidia 3060 with 6 GB (and a Ryzen 7 ...
0
votes
0
answers
63
views
Inconsistent results in CPU benchmarking with Hardinfo: Is the tool outdated and are there better alternatives for Linux users?
This program is the only CPU benchmarking application on Linux that works for ordinary users. After testing it, I wonder if it is relevant because I compared the results between two ways to execute ...
0
votes
0
answers
53
views
How to benchmark multiple HDDs with Disks utility in Linux simultaneously?
I have multiple external USB drives to test, and I want to test them simultaneously (I have a multitude of high-speed USB3+ ports).
How do I benchmark multiple HDDs at the same time? I can open only 1 ...
0
votes
0
answers
322
views
understanding fio test results - 90th percentiles benchmark - Latency --> avg/stdev?
What are the relationships in storage benchmarking with fio between the average(avg) and standard deviation (stdev) at latency?
Avg / stdev at latency is important for sequential or random test?
Most ...
0
votes
0
answers
70
views
How to check whether my network connection supports HTTP2, gRPC or WebSocket?
My ISP/AS/NAT is problematic since I think it blocks some transfer-layer protocols.
I want to check whether my connection to my domain behind a CDN (e.g. cloudflare) supports HTTP/2, gRPC, QUIC or ...
2
votes
0
answers
369
views
Is there an SSD Benchmark Tool for Linux to measure speed vs time or speed vs space usage?
Most of the SSD benchmarks you see out there use solely Crystal Disk Mark for Windows on an empty SSD. This allows to show speeds of 300~550MB/s (SATAIII), which is amazing compared to most HDDs.
...
0
votes
0
answers
82
views
How to best control variability in fio for a reliable filesystem benchmark?
for a work project, I am tasked to create a benchmarking tool to measure the read/write performance of a physical device, which acts much like a database server. Currently I am focused on the ...
-2
votes
2
answers
194
views
Using the command "sudo chrt -r 99" for a video encoding benchmark I always get bigger (worse) times
I am using a video encoding benchmarking application. The strange thing to me is that when I am using the command sudo chrt -r 99 VideoEncoding cfg I always get bigger time (worse results) instead of ...
7
votes
1
answer
571
views
tee is faster than no tee
I have this simple bash script:
#!/bin/bash
for i in {1..1000000}
do
echo "hello ${i}"
done
That prints a message a million times.
I try to compare the performance of dumping all the ...
1
vote
1
answer
1k
views
What exactly is being cached when opening/querying a SQLite database
I was asked to improve existing code to query SQLite databases. The original code made a lot of separate calls to the database and filtered the results in Python. Instead, I opted to re-write the ...
1
vote
1
answer
241
views
Is there a tool to count the latency of UDP datagrams in Linux?
Now I want to test the network performance between two Linux systems.
The test scenario is as follows: one terminal sends UDP datagrams to the other terminal continuously at fixed intervals (the ...
0
votes
2
answers
193
views
Does the time command include the memory claimed by forked processes?
I want to benchmark some scripts with the time command. I am wondering if this command catches child processes' memory usage.
command time -f '%M' python my_script.py
If not, what are my options? Is ...
0
votes
0
answers
666
views
OSCollector Cannot run program "python": error=13, Permission denied
When I tend to install and use the tool named benchmarksql-5.0, I found this problem below
[oracle@db01 run]$ ./runBenchmark.sh props.ora
09:43:33,081 [main] INFO jTPCC : Term-00,
09:43:33,083 [main]...
0
votes
0
answers
247
views
Which kernel functions are called upon page cache accesses?
I have an application and I'd like to measure its page cache hit/miss numbers. I found this tool called cachestat by Brendan Gregg, which uses the ftrace tool to count the number of 4 specific ...
1
vote
2
answers
135
views
Is there a tool that can read and write to disk at constant throughput?
I'm looking for a tool that can read and write data at a constant target throughput, say 3Mb/s, rather than pushing the I/O system to its limits. I then intend to monitor various metrics whilst this ...
0
votes
1
answer
2k
views
stdint.h: no such file or directory
I am trying to compile coremarks to benchmark one of my CPU cores I generated (from here: https://gitlab.com/incoresemi/core-generators/benchmarks/-/tree/master).
I get the following error:
In file ...
1
vote
1
answer
61
views
How to purge in-memory disk cache
Linux uses free RAM to store pages of disk files to speed up overall disk access.
However for the purposes of benchmarking, I want to test the disk read speed and I don't want that speed measurement ...
1
vote
0
answers
386
views
Is jq internal sort slower than GNU sort?
While filtering through this json file I did a benchmark and found out utilizing jq's internal sort and unique method is actually 25% slower than sort --unique!
Command
Mean [ms]
Min [ms]
Max [ms]
...
1
vote
1
answer
632
views
testing network transfer speed and hardware limitations
This is somewhat of a computer engineering and network engineering question, but it is linux based since infiband is largely utilized via the linux operating system. And I am interested in ...
0
votes
1
answer
907
views
help with iperf and infiniband and multiple NIC
I have two Dell servers in a rack in my server room:
RHEL 7.9 x86-64 and iperf-2.0.13-1.el7.x86_64
hostnames are A and B
each has
1 10GbE intel nic, having 2 ports
1 1Gbps intel nic {traditional} ...
2
votes
0
answers
193
views
How to use kcbench?
I downloaded kcbench according to the online tutorial(https://gitlab.com/knurd42/kcbench). The result displayed after running the script is also correct.
Processor: Intel(R) Xeon(R) CPU E5-...
2
votes
1
answer
63
views
How to install kcbench on a computer without internet?
I want to install kcbench on the Linux server I use. The server is not connected to the Internet, but my computer (window) is able to connect to the Internet, and I can connect to the server via ssh. ...
0
votes
1
answer
202
views
Are sysbench results comparable between versions and distros?
I have a machine which i can boot into either Ubuntu 18.04.5 or Fedora 32. I have had some performance issues, so i thought i would run a quick benchmark on both distros. I installed sysbench from the ...
2
votes
1
answer
489
views
Does it make sense to use queue-depth when doing synchronous IO benchmark?
Does it make sense to have a queue depth > 1 when doing a synchronous IO benchmark?
I was expecting the same result a of QD1, but QD32 does give better result?
I thought it would just be ignored. ...
5
votes
1
answer
8k
views
NVMe performance hit when using LUKS encryption
I'm running all the commands on the Proxmox host, when I LUKS encrypt a disk I get about a 28% hit in read speeds and 66% hit in write speeds. I have aes-ni enabled and I should be getting good enough ...
1
vote
0
answers
236
views
Cannot get sysbench to stop at max time
I am looking to stress test a machine using sysbench so that I can get the CPU temperature to write to a file each second. Right now the test runs past the max time that I set. How to get it to stop ...
-1
votes
1
answer
150
views
Forked process never terminates
I'm wanting to run sysbench and have the process fork in the background.
When I run the code below. The stress test completes but I never can get back to bash prompt. Note, I only find the first prime ...
0
votes
1
answer
224
views
fio: how to write 2X user capacity?
My system has SSDs and I wanted to run some benchmark tests on it based on SSS PTS (SNIA). For example, for IOPS test, the spec suggested to use QD=32, TC=4 and for doing IO, the spec says following.
...
0
votes
1
answer
654
views
fio: how to reduce verbosity?
When I run fio command, I get huge file with following lines which fills up the entire space. I am interested in only the final fio output summary. How can I reduce this fio verbosity?
::::
Jobs: 4 (f=...
8
votes
4
answers
12k
views
Find the lightest desktop environment
A high-votes answer here for the question "What's the lightest desktop" which actually tried to quantitatively assess memory use relies on a Wikipedia page which quotes 2011 data.
The newest ...
1
vote
3
answers
210
views
Where can I find a comparison of graphics cards using free software drivers? Are there any with good performance? [closed]
Is there a comparison of graphics cards that work with exclusively free software (FOSS drivers without any blobs)? If possible the comparison should include price and performance benchmarks of the ...
4
votes
1
answer
485
views
Measuring cumulative peak memory usage of multiple parallel processes
Imagine I run a bunch of processes in parallel using xargs and want to measure their cumulative peak memory usage. How can I do that in Linux? GNU time only measures peak RSS of a single process I run....
-1
votes
1
answer
379
views
How kernel building is a memory intensive application? [closed]
What makes benchmarks like kernel-build, pbzip, pfscan memory-intensive applications?
1
vote
2
answers
322
views
Why do Linux distributions have different performance?
Phoronix published a comparison of 9 operating systems. The three fastest are:
Clear Linux 32310
CentOS Stream (while the rolling Manjaro is the penultimate)
Fedora Workstation 31
What are basic ...
1
vote
1
answer
3k
views
Is there anything similar to CrystalDiskMark for UNIX?
If you're shopping for an SSD, you've surely seen one of those screenshots from CrystalDiskMark with a few green squares, and the 2x4 matrix with results of doing read/write tests for the given ...
0
votes
1
answer
168
views
FIO benchmark replay fails in case of size 0
Abhishek Srivastava
Member
0
1 post
Report post
Posted yesterday at 01:46 PM
I have downloaded Financial application traces in standard *.spc format and then converted it into fio format. Now when ...
1
vote
1
answer
935
views
Does mixing up GTK and Qt applications slow down the machine?
Usually it is recommended to either use GTK or Qt apps in the operating system, but not mixing them both together.
Example:
When using KDE it seems to be obvious to use KMail (Qt) instead of ...
1
vote
1
answer
1k
views
Printing milliseconds with GNU time
I am using GNU time for benchmarking and would like to measure real, user and sys time to the nearest millisecond. That is, I want to measure seconds to 3 decimal places, not the default 2. Does GNU ...
2
votes
0
answers
57
views
Record filesystem activity
I would like to record all filesystem activity so that I can later replay it at will (for benchmarking purposes). What's the best way of doing that?
I considered strace, but rejected that because it ...
3
votes
4
answers
5k
views
Linux utility to bench mark clock speed of CPU
I have a Linux PC with a 3.4 GHz CPU. I must check this processor to see if it actually runs at that speed. Is there a benchmark available? I ran sysbench but it only provides time of completion, and ...
2
votes
1
answer
3k
views
FIO reporting slow write speeds while DD reports fast ones
According to most disk benchmarks, sequential write speeds are typically very close to the read speeds. Mine are in the ~500MB/s range.
$ dd if=/dev/zero of=tempfile bs=1M count=5120 conv=notrunc ...
1
vote
1
answer
97
views
What does the CPU consumption in top mean when a CPU is assigned to a single process?
Being on Linux I have "CPUAffinity= 0 1 3" set in system.conf. I also use "taskset -cp 2 $pid" to assign a CPU to a single process. But what does the CPU consumption for the process in top now mean? ...
2
votes
1
answer
948
views
Why do diskspd and fio generate odd numbers on Linux vs. Windows?
UPDATE
Thanks to Anon's answer, I figured out that the file system was at fault - I used NTFS. The following are the results using FAT32.
Windows:
diskspd64 -b128K -d5 -o32 -t1 -W0 -Sh -w0 cdm
508, ...
1
vote
1
answer
2k
views
How does FIO benchmark set IOdepth?
NOTE: My question stems from this other U&L Q - What exactly is iodepth in fio?
I want to know how internally FIO sets I/O depth. I.e., one of the parameters we submit to FIO when we run it is "...
2
votes
1
answer
259
views
How to improve rsync execution time on OmniOS (illumos-based)?
I am testing illumos in some of its variants, currently OmniOS.
As I was benchmarking io-bound processes, I saw that rsync was significantly slower in respect to my reference, FreeBSD 12-CURRENT.
...
1
vote
1
answer
42
views
Disk benchmarking program which doesn't produce CPU load
I'm want to mix CPU and IO intensive benchmarks on the same machine with different levels of CPU utilization and IO throughput.
Unfortunately I couldn't produce an high IO load without stressing the ...
0
votes
1
answer
524
views
Benchmark a USB host transfer speed with Busybox
I want to benchmark a USB host on my custom machine. It has Busybox V1.20.2. From google, I see that it can be done using dd command.
For testing, i copy blender.exe (76MB) to the home folder in ...
2
votes
1
answer
1k
views
Why is `sync + drop_caches` not dropping caches?
I have a test case for journalctl where it spends several seconds reading from the disk. But if I try to benchmark multiple runs of the test case, I find that it's impossibly fast after the first run....