Questions tagged [performance]

The speed at which a program runs

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

HDD performance is slow on ASUS N750JK SATA III

Intro I have a laptop ASUS N750JK, which I am trying to setup to work as HTPC. I have noticed one strange behavior - the motherboard is slowing down any HDD I connect to it via SATA3 connection. ...
0
votes
1answer
42 views

Linux GUI is terribly laggy and freezing on server hardware

I recently got a used DL360 g6 server on my hands. It has 2 5670 CPUs with 12 cores and 24 threads, and came with 80GB of RAM. Windows OS runs pretty fast on it, but linux distros are terribly laggy ...
1
vote
1answer
22 views

How to prevent a single program from killing my desktop's performance?

I have to use Zoom for videoconferencing (the Linux client looks like an Electron based app). Whenever I'm on a video call, the overall performance of my desktop degrades significantly. Interacting ...
2
votes
1answer
31 views

Why this GIF isn't playing smoothly?

in.gif (814KB) in.jpg (1.03MB) Commands i used to generate a gif - convert -coalesce "in.gif" "0.png" for file in 0*.png do composite -gravity center "$file" in.jpg compose_over"$file" done ...
0
votes
1answer
38 views

Bash script that runs parallel threads slows down substantially over several hours

I have a script I came up that simply executes another process into the background that attempts to control the max number of processes running (300 in this case). It initially executes scripts at ...
1
vote
0answers
75 views

Alternatives to dd to read/write to a disk?

I'm using cp to read/write from an SSD drive but is not fast enough. Then I used dd, which is fast, especially with the drive unpartitioned. But I ran into errors like there is no space left on ...
0
votes
2answers
55 views

Why doesn't Linux automatically clear caches?

Background My question is basically a follow-up to this question and answer, and in particular, this comment. Whenever I have to copy or rsync large amounts of files, the memory on my system tends ...
0
votes
0answers
16 views

High-frequency performance counter sampling using perf record/report

I want to retrieve performance counter counts at a high frequency (i.e. 100-200Hz) using the perf tool (similar in functionality to https://github.com/RRZE-HPC/likwid/wiki/likwid-perfctr#the-timeline-...
0
votes
0answers
24 views

Writing to USB-disk slow. Why?

I have just experienced the following: USB reading performed normally: 30-40 MBytes/s USB writing was terribly slow: 0.5-20 MBytes/s, jumping up and down and averaging around 4 MBytes/s Reading was ...
0
votes
1answer
59 views

Does Linux kernel scheduler care about how many socket/core/threads?

I am running openstack + kvm and default when I build VM on openstack CPU Topology is number of vCPU = sockets Example: If I create VM with 32vCPU then my lscpu looks like following. # lscpu ...
6
votes
2answers
570 views

Efficient way to do calculations in bash

I'm trying to calculate the geometric mean of a file full of numbers (1 column). The basic formula for geometric mean is the average the natural log (or log) of all the values and then raise e (or ...
0
votes
0answers
16 views

KVM presenting wrong CPU Topology to VM

We are running openstack with KVM and i have noticed kvm presenting wrong CPU Tolopoly to VM and because of that we are seeing bad performance to our application. This is openstack compute: # ...
1
vote
1answer
89 views

Select a random file from the file system [duplicate]

Is there a way to get the path of a random file from the entire file system (either from a single partition or everything under /), in a reasonable time?
0
votes
1answer
54 views

No response of egrep command on large folder

I need to get some files that doesn't contain some string on a large folder ≃ 10M files for 22 GO of data. I try this command on local (macOS) : egrep -r -L -Z 'string1|string2' * | wc -l this ...
0
votes
0answers
8 views

Get disk read thoughput includes cache hit

I know how to get disk read throughput from /proc, but cache hit is not included. How can I get total read throughput includes cache hit?
2
votes
1answer
96 views

Delete millions of files efficiently, without first generating a list of all files to be deleted [duplicate]

I've been trying to figure out how to delete millions of files from a mounted NAS drive. The OS I'm accessing it from is RHEL 7.6. The directory is actively being written to, with tens or hundreds ...
0
votes
0answers
13 views

Does ionice work with virtual block device(loop device and device mapper)?

The back-file located on cfq enabled hardware block device(/dev/sda) but seem the loop device no cfq scheduler and dm device is created based on that loop device also dm device itself no cfq scheduler....
0
votes
0answers
18 views

Latency issue with encrypted block device

I have an SSD connected via USB. If I use it unencrypted I can manage to get a steady 350 MBytes/sec write performance. If I use it encrypted (with LUKS), I get the same write performance over time, ...
1
vote
2answers
75 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 ...
2
votes
0answers
35 views

is it possible to give priority to write more then read in disks

we have hadoop cluster , with data-nodes machines that have HDFS file system we want to give more write to disks priority then read to disks we read the - Using the Deadline IO Scheduler ( https://...
2
votes
4answers
222 views

`wc -l` alternative that displays the count, as it receives the lines

I'm using wc -l to count the lines in output of a command, as the input is piped to it. commad | wc -l This works fine, but if command is doing some heavy computation, this is quite slow. Is there ...
0
votes
0answers
25 views

Low performance when booting without charger

My new laptop has a multitude of problems when running Gnu/Linux, but this one I haven't been able to solve. The problem: If I boot the laptop with the charger plugged in, it works absolutely ...
0
votes
0answers
19 views

How high can I tune my network stack buffer size to increase network performance due to long distance server latency?

I followed this guide: https://www.cyberciti.biz/faq/linux-tcp-tuning/ I added the following values into my /etc/sysctl.conf file: net.core.wmem_max=12582912 net.core.rmem_max=12582912 net....
1
vote
1answer
29 views

luks impact cryptsetup benchmark

i have a laptop with i5-8250U CPU @ 1.60GHz × 4, SSD and 8gb ram and am considering FDE. how do i know if the results i got from running cryptsetup benchmark are good or not? Algorithm | Key | ...
0
votes
2answers
28 views

Speedtest-CLI output for monitoring

So I'm pretty new to Linux and I really can't figure it how to. So I wanted to make a useful output for our monitoring Tool with speedtest-cli. We have to monitor download and upload speeds for ...
0
votes
0answers
44 views

What advantages are there to running a server on Unix rather than Linux?

my question is fairly similar to this, but I'd like to be more specific. Quite a few years have passed since it was asked so it might be relevant to ask again.. I got hold of a pretty old piece of ...
2
votes
2answers
169 views

scp speed limit?

I am transferring some files between two servers and I can't seem to get past 10.5MB/s (84Mbps). Neither end is being slowed due to encryption according to htop; and both internet connections are ...
0
votes
0answers
32 views

High iowait under daily activities on a desktop, jbd2/sda5-8 cpu problem

Whenever i do some activity (start web browser or sometimes even just move a mouse), i get high disk activity (by sound) and iowait goes through the roof. E.g. starting chrome or firefox freezes mouse....
5
votes
0answers
68 views

Improving NFS performance on FreeBSD system

I have a FreeBSD storage Server exporting ZFS Datasets via NFS, but the performance for small file transfers is below the acceptable limit. Some background info: The exports are handeled via /etc/...
-1
votes
1answer
31 views

Does the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second?

I would like to know if the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second? % cat /proc/cpuinfo processor : 0 vendor_id ...
0
votes
1answer
35 views

How to find server's highest and lowest load time frame

I want to know at what time a server relaxes most. I need the most idle time frame of the server, the lowest one. The goal is to perform some data analysis task without hurting server response at ...
4
votes
0answers
58 views

veth interfaces performance problem

On a fast AWS machine (m5.2xlarge), I am creating around 600 veth interfaces, each one having a little server (with socat) running on a port. I then start sending around 7kb/second of data per server....
2
votes
3answers
116 views

How to slow down grep and zgrep on Linux?

I have a bunch of big log files (more than 4 GB) and i can't download them from sever (download speed is limited) so I need to perform grep and zgrep on a production server. But performing grep or ...
23
votes
5answers
4k views

What is the quickest way of replacing 0 by 1 and vice-versa in a stream?

Given a string composed of 0s and 1s, my goal is to replace 0 by 1 and vice-versa. Example: Input 111111100000000000000 Intended output 000000011111111111111 I tried, unsuccessfully, the ...
0
votes
0answers
41 views

Which file to set isolcpus on CentOS 7?

I am using CentOS 7 and would like to isolate cores 0 and 1 for the OS/Kernel, meaning nothing will be scheduled on my other cores. I need isolcpus After some Googling I found this: https://access....
0
votes
0answers
216 views

How to figure out cause of high kernel/kworker CPU usage?

Sometimes the kernel uses up 40-50% of my CPU, causing lag in other programs. At the times this happens, the output of iotop looks like this: Total DISK READ : 2.96 K/s | Total DISK WRITE : ...
-1
votes
3answers
66 views

NVMe Performance not all that good

Just got this Team Force Cardea Zero NVMe PCIe Gen4 drive. It's performance isn't what was promised. They claim write speeds of 4,400 but I am only seeing 1,500 $ dd if=/dev/zero of=/tmp/test2.img ...
0
votes
0answers
15 views

How to get average queue of processes waiting for CPU time

I am trying to make performance measurement on my resource constrained board.It required to get the average queue of process waiting for CPU time. Is there any way to get directly from /proc/stat or ...
0
votes
0answers
17 views

Can you compile kernel from fast VM for different hardware device and package as .deb or .rpm?

I have a VM that has a lot of hardware resources allocated to it. It can run make make install make modules_install within an hour. If I copy the source kernel and correct config file over from a ...
2
votes
0answers
83 views

Smooth Linux VM (VirtualBox) on Windows 10?

I need to create a Virtual Machine running a Linux-based OS. I have tried with Ubuntu 16.04 LTS and 18.04 LTS. The problem that I can't help having is that its interface is laggy and slow in terms of ...
0
votes
0answers
22 views

Linux perf command

I am trying to do some Linux performance tuning on some applications with perf tool in Linux, however, what I found is most virtualized environment e.g. virtualbox, GCP and Azure VM etc do not fully ...
-1
votes
1answer
36 views

What are all the possible optimizations I could apply to a new build of Gentoo? [closed]

With the assumption that I'm using hardware with a very modern CPU (9900K), what are all the possible optimizations I could apply to a new build of Gentoo in order to gain the best possible ...
0
votes
0answers
17 views

improving IPSec traffic on Centos 7

I need suggestions for improving IPSec performance on Centos 7 with Strongswan. I got quite good server with 4 x X710 (10GbE). So far - with ~4 IPSec tunnels i'm able to get ~2GB/s of mixed in and out ...
1
vote
0answers
37 views

What's the difference between cpupower and cpuspeed?

These two programs seems both doing freq scaling. What's their difference?
0
votes
1answer
28 views

use proc info to increase pc's speed

Just to filter the answers, I am a completely beginner trying to understand the basics about Linux Filesystem. According to many resources the proc directory in the filesystem shows information about ...
0
votes
1answer
43 views

Cron loop best practices

I wrote a script that loops through every file in a folder and performs a simple operation on each file. That folder will almost always be empty and only occasionally contain a file, but I'd like the ...
0
votes
1answer
75 views

turbostat - TSC_MHz average MHz that the TSC ran during the entire interval

When using 'turbostat' command, we can see 'TSC_MHz' field data. What does 'TSC ran' here mean? OS in idle state?
1
vote
2answers
596 views

Disable Spectre and Meltdown mitigations

Can I disable Spectre and Meltdown mitigation features in Ubuntu 18.04LTS? I want to test how much more performance I gain when I disable these two features in Linux, and if the performance is big, ...
1
vote
1answer
20 views

Profiling a Linux box to find causes of slowness

I use a (Fedora) Linux box for daily work, and generally I boot it every morning, so we are not talking about long running processes and short uptimes. Lately I noticed that the system got slow, but ...
0
votes
0answers
8 views

hugepagesz page table questions

trying to understand linux page tables... I am reading the RHEL 7 performance tuning guide and watching youtube vid of RH summit may 2018 https://www.youtube.com/watch?v=RLNMlsa173o* Having System H ...

1
2 3 4 5
17