Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [benchmark]

The tag has no usage guidance.

1
vote
0answers
15 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 ...
2
votes
1answer
49 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 ...
1
vote
1answer
230 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
1answer
30 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? ...
1
vote
1answer
145 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
1answer
348 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
1answer
114 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
1answer
33 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
0answers
346 views

Vdbench, performance difference while specifying file path and partition path

I'm using vdbench for storage benchmarking. I'm running a random reads test. I've attached a test file system from my storage array. In vdbench config file, if I specify my lun as partition, such as /...
1
vote
0answers
190 views

Huge difference between Phoronix benchmarks on RedHat and Oracle linux [closed]

I have two servers, both have Intel 8160 processor, 768 GB memory, same hardware specs, same software/package versions. The only difference being that one is running RedHat Enterprise Linux 7 and the ...
0
votes
1answer
46 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 ...
1
vote
1answer
213 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....
3
votes
3answers
320 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 ...
1
vote
0answers
603 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 ...
5
votes
2answers
2k 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 ...
0
votes
0answers
191 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 ...
4
votes
1answer
279 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 ...
2
votes
0answers
40 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 ...
1
vote
1answer
2k 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 ...
2
votes
0answers
819 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 ...
1
vote
1answer
62 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 ...
2
votes
0answers
2k 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 ...
-1
votes
1answer
74 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 ...
0
votes
1answer
953 views

How to read the data from SysBench And UnixBench when testing VPS

i want to test several linux VPS using bench mark tools as i reead there are 2 indestry standart tools called unixBench and SysBench I compiled them and executed them on the VPS And i have results : ...
1
vote
1answer
719 views

How to test speed of an s3 bucket mounted via s3fs-fuse?

I have an s3 share that's mounted via [s3fs-fuse][1] and would like to run some speed tests to compare throughput on DreamHost's DreamObjects vs Amazon S3. Everything is mounted and working just fine ...
1
vote
2answers
83 views

Testing CPU intensity of a single command or function

Is there a command that's useful for doing a benchmark test on a separate command or function; to see how cpu intensive it is? Preferably something similar to how you can report the duration of a ...
2
votes
1answer
2k views

Unable to use bonnie++ for measuring I/O performance

To troubleshoot some performance issues, we want to do some FS benchmark assessment using bonnie++, but whenever I try to execute, it only prints the usage without actually running. Can anyone ...
1
vote
1answer
82 views

Is there a way to benchmark the find command (to compare with locate)?

Reading the accetped answer of the question locate vs find: usage, pros and cons of each other which tells that locate's main advantage is speed I wanted to do some testing, whether I can benefit from ...
9
votes
5answers
3k views

Universal non-bash `time` benchmark alternative? [closed]

For comparing run times of scripts between different shells, some SE answers suggest using bash's built-in time command, like so: time bash -c 'foo.sh' time dash -c 'foo.sh' ...etc, for every shell ...
0
votes
1answer
381 views

read() randomly a file with O_DIRECT flag on, getting a serious performance hit on 32 MB files size?

I am running a benchmark of HDD read that bypasses page cache. I have set O_DIRECT flag and memaligned my memory. This function attempts a random read within a file(lseek64() used). The data I am ...
0
votes
0answers
259 views

Benchmark /dev/shm

I am currently developing a software that needs fast inter-process and temporary I/O communication (images as well as big hdf5 arrays). The "lifetime" of the data is different and dependent on several ...
1
vote
1answer
412 views

HDDs, outer track vs inner track performance benchmarks?

I am interested in relating the position of a file on disk and the I/O R/W performance characteristics associated with this position. I have been able to find two benchmarks, but they are both for ...
3
votes
1answer
3k views

running iperf over ssh

I'm trying to benchmark the network connection between 2 ubuntu servers on which I don't have root privileges. I did manage to download and start iperf-2.0.9 on both boxes. My problem is I can't ...
0
votes
1answer
134 views

Benchmark shared folder on Virtualbox?

I'm trying to benchmark what I can read and write from the shared folder on my Virtualbox machine is? From my local host machine I have a shared folder, and on the guest virtualized machine, I would ...
11
votes
1answer
1k views

Write-benchmark of gnome-disks

Does the write-benchmark of gnome-disks write back the original data after the test? It is destructive? The Benchmark Settings window only states this: Please back up important data before using the ...
1
vote
2answers
356 views

How to benchmark different shells [closed]

I want to know if shell 1 is better for a job than shell 2 with a test that I handle maybe with shell 3 for example ksh, dash, bash or zsh. I use a test script that builds my projects, starts it,feed ...
2
votes
0answers
179 views

Benchmarking under SELinux Sandbox with Phoronix Test Suite

I would like to run the Phoronix Test Suite 6.2.2 under the SELinux sandbox on Fedora 23, but I can't execute it using $ sandbox ./phoronix-test-suite. I probably don't have the correct SELinux type. ...
1
vote
0answers
1k views

What do the benchmarks in HardInfo mean?

The program hardinfo is included by default with Lubuntu as a system profiler. It can run 6 different types of benchmarks: -CPU Blowfish -CPU Cryptohash -CPU Fibonacci -CPU N-Queens -FPU FFT -...
1
vote
0answers
239 views

Random write on DISK benchmark shows high read rate on iostat

I am running a random write benchmark directly on some disks (HDD & SDD) and I am getting some weird output data on the iostat monitor. Besides the usual write rate, there is a read rate that I ...
4
votes
2answers
222 views

confused about dd write speed and VFS page cache

After reading some articles on the Linux VFS page cache and the tunable parameters like dirty_ratio i was under the impression that page cache would operate as both read and write caching layer. But ...
3
votes
1answer
8k views

How to interpret `cryptsetup benchmark` results?

Summary: I can run cryptsetup benchmark and sort the results, but seek guidance in their interpretation. E.g., should I give more weight to encryption speed or decryption speed? Should key-derivation ...
3
votes
1answer
184 views

Benchmarking With SELinux

I've been performing some benchmarking tasks on freshly installed CentOS machines with SELinux enabled and disabled. The tasks include copying files of various sizes, sending variable amounts of data ...
1
vote
0answers
74 views

How can I benchmark or audit an embedded kernel?

Is there a reliable or industry standard way to benchmark or audit embedded kernel performance? The target of the audit is to determine the time that the kernel spends in certain critical section, ...
0
votes
1answer
115 views

IO benchmark tools block size impact?

Many IO benchmark tools (fio, dd, etc...) provide way to set block size. Lets say that I change 4K to 64k and test read/write on mounted SATA disk. I will get higher data throughput in sequential ...
1
vote
1answer
176 views

Where to find information about tests from Phoronix test suite?

Phoronix Test Suite is a linux benchmarking tool made of tests and suites of tests. To print all available test phoronix-test-suite list-available-tests To print all available suites phoronix-...
2
votes
0answers
176 views

GNOME Disks Sample Size

I'm trying to use GNOME Disks to test my disk performance and, according to my previous experience, I'd like to set the sample size to 8K, 16K and 32K. However, I see the minimal sample size in its ...
2
votes
1answer
30 views

How to force a dependency conflict for benchmarks?

I want to measure the time portage needs for solving dependency conflicts on a gentoo system. For a benchmark I need a reproducible conflict situation. It should have many solvable conflicts. /usr/...
2
votes
1answer
1k views

How can I benchmark NFS and SMB transfer speeds?

I'd like to compare the speeds of NFS and SMB across my network. Is there any good (and simple) tool to let me do this? Ideally I'd like something I can just point at my mounted filesystem (i.e. /...
1
vote
0answers
154 views

How can I profile/benchmark RAM performance?

I would like to know if my memory hardware is a bottleneck of my system performance. I am dealing with really old hardware (late 2000). If there is room for improvement, I would like to upgrade. ...
8
votes
2answers
10k views

Telling Linux kernel *not* to use certain CPUs

I'm trying to run some benchmarks on a multicore machine and I'd like to tell the Linux kernel to simply avoid certain cores unless explicitly told to use them. The idea is that I could set aside a ...