Questions tagged [benchmark]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
13 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 ...
user avatar
  • 11
0 votes
2 answers
37 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 ...
user avatar
  • 1,287
0 votes
0 answers
156 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]...
user avatar
0 votes
0 answers
47 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 ...
user avatar
1 vote
2 answers
52 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 ...
user avatar
0 votes
1 answer
426 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 ...
user avatar
1 vote
1 answer
32 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 ...
user avatar
  • 111
2 votes
0 answers
108 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] ...
user avatar
0 votes
0 answers
29 views

Initialize SSD by sequentially updating all avaible sectors

I am programming an SSD benchmark for studying purpose. I want to measure kind of a ssd page size (clustered page size). There is this pseudo-code I can use: int F = open("/dev/sda", ...
user avatar
  • 101
1 vote
1 answer
127 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 ...
user avatar
  • 4,111
0 votes
1 answer
175 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} ...
user avatar
  • 4,111
2 votes
0 answers
95 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-...
user avatar
2 votes
1 answer
51 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. ...
user avatar
0 votes
1 answer
92 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 ...
user avatar
1 vote
1 answer
198 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. ...
user avatar
  • 530
4 votes
1 answer
4k 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 ...
user avatar
1 vote
0 answers
105 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 ...
user avatar
  • 109
-1 votes
1 answer
46 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 ...
user avatar
  • 109
0 votes
1 answer
106 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. ...
user avatar
0 votes
1 answer
260 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=...
user avatar
6 votes
4 answers
7k 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 ...
user avatar
  • 3,492
1 vote
3 answers
138 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 ...
user avatar
  • 3,410
3 votes
1 answer
152 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....
user avatar
-1 votes
1 answer
107 views

How kernel building is a memory intensive application? [closed]

What makes benchmarks like kernel-build, pbzip, pfscan memory-intensive applications?
user avatar
  • 137
1 vote
2 answers
219 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 3,051
0 votes
1 answer
111 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 ...
user avatar
1 vote
1 answer
627 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 ...
user avatar
  • 926
1 vote
1 answer
954 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 ...
user avatar
2 votes
0 answers
55 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 ...
user avatar
  • 121
3 votes
4 answers
4k 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 ...
user avatar
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 ...
user avatar
  • 1,799
1 vote
1 answer
73 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? ...
user avatar
2 votes
1 answer
787 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, ...
user avatar
  • 163
1 vote
1 answer
1k 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 "...
user avatar
  • 13
2 votes
1 answer
232 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. ...
user avatar
  • 308
1 vote
1 answer
41 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 ...
user avatar
0 votes
1 answer
272 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 ...
user avatar
  • 127
2 votes
1 answer
794 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....
user avatar
  • 44.3k
5 votes
3 answers
1k views

Process creation time, shell script and system call overhead

I have a machine dual booted with Arch Linux and Ubuntu (16.04). I have recently started using the Kakoune text editor, and noticed that its startup time is drastically different depending on which OS ...
user avatar
  • 63
1 vote
0 answers
1k views

cryptsetup, LUKS, dm-crypt benchmark

I'm working on embedded software, where I used the cryptsetup to create an encrypted disk space over a NFS ethernet standard connection... I'm interested to understand the writing speed that this disk ...
user avatar
  • 75
5 votes
2 answers
8k views

How can I measure the speed/performance of a program?

Recently, I was looking at the performance impact of tools such as strace. For instance, this blog post uses the default metrics given by dd. I wanted to do some measurements myself but with other ...
user avatar
  • 265
0 votes
0 answers
292 views

Comparing I/O schedulers

I intend to compare different three I/O schedulers: "noop", "cfq", and "deadline" and I plan to compare them for both random reads and writes. So far, the only meaningful cases that I have identified ...
user avatar
5 votes
1 answer
497 views

How to delay bash script until there's enough idle cores to run it?

I'm a student who wants to benchmark a NGS pipeline, monitoring performance according to how many cores it has allocated to it and the size of the input file. For this reason, I wrote a bash script to ...
user avatar
2 votes
0 answers
143 views

How to measure time spent accessing file data over network-attached storage?

For a program running on a (Linux) server in a network-attached storage (NAS) environment, how can I measure the amount of time spent transferring data between the server and the network? The time ...
user avatar
3 votes
1 answer
5k views

Flexible RAM Benchmarking Tool

I'm trying to prove that an application I developed is saturating the memory bandwidth. For pure bandwidth benchmarking I'm aware that there's STREAM, but it only measures the maximum sequential burst ...
user avatar
  • 949
2 votes
0 answers
1k views

How to check if my graphics card (driver) is working properly? [Debian 9]

I have a nvidia graphics card and for getting it to work I only added contrib non-free to my repositories' sections in synaptic (reluctantly), installed nvidia-driver and restarted. In the NVIDIA X ...
user avatar
  • 3,410
1 vote
1 answer
198 views

Find out how much time a process spent in it self

The time command can be used to get an estimate of CPU time for a given job. However, it appears that its output includes the time spent in child processes. Is there a way to get the time spent in the ...
user avatar
6 votes
0 answers
4k views

Using dd on Mac OS: conv=fsync equivalent?

I'm running an experiment where I benchmark the speed of reading and writing with and without caching. On Linux, using 'conv=fsync' as an operand makes sure that the output file is entirely physically ...
user avatar
  • 61
0 votes
1 answer
132 views

FIO Benchmark Tester: Error when building from source

I encountered some errors when I was trying to build the FIO from source with the 'make' command. It seems I may be missing something. Does anyone what it is? root@DSI:/home/main/fio-2.2.10# make ...
user avatar