The speed at which a program runs

learn more… | top users | synonyms (1)

1
vote
0answers
9 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 ...
1
vote
2answers
25 views

Poor network performance between AIX 7.1 on 1 Gbit/s and SLES 11 on 10 Gbit/s

I am having problems with the network performance between SLES and AIX. I have tested the network performance from AIX 1 Gbit/s to AIX 1 Gbit/s SLES 11 10 Gbit/s to SLES 11 10 Gbit/s AIX 1 Gbit/s to ...
0
votes
0answers
8 views

Unusual performance of libblas-dev on Unbuntu 14.04

The package libblas-dev in Ubuntu 14.04 seems to have unusual performance (much faster) in some cases in the following question. http://stackoverflow.com/questions/38042451/cblas-gemm-time-dependent-...
2
votes
3answers
55 views

Remove directories sequentially vs. simultaenously in background [duplicate]

Part of a script I am writing utilizes rm -rf to completely remove two directories. These directories are relatively large and can take a considerable amount of time to remove. Currently the ...
10
votes
2answers
4k views

echo vs <<<, or Useless Use of echo in Bash Award?

By now the Useless Use of cat Award is very well known, and there's also a mention of a Useless Use of echo (not relevant for this question). I'm wondering if there should be a "Useless Use of echo in ...
140
votes
1answer
310k views

How do you empty the buffers and cache on a Linux system?

Prior to doing some benchmarking work how would one free up the memory (RAM) that the Linux Kernel is consuming for its buffers and cache? Note that this is mostly useful for benchmarking. Emptying ...
1
vote
1answer
122 views

Why kernel may be throttled?

My MBR start freezing up for over hour and I've found that my kernel reported being throttled, e.g. (this is just a sample for 2 seconds) $ sudo fs_usage | | grep -i throttled 12:26:45 THROTTLED ...
4
votes
1answer
3k views

Should I disable hyperthreading when concerned about performance of single-threaded applications?

I use a i5-2410M processor, which is setup to do hyperthreading by default on my laptop. Considering that this is a 2-core processor, this means it can do 4 threads at a time. This also means that ...
0
votes
1answer
29 views

HTML5 video performance

I have performance problem with video playing: When I am playing video on youtube, high CPU percentage is used: But when I download the same video and play it in VLC player, CPU usage is reduced ...
1
vote
0answers
36 views

Is the perfmon2 tool obsolete due to the same functionality being included in the current Linux kernel?

I was having some issues with the PAPI tool and multiplex and this answer by the PAPI creator led me to check out perfmon2: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/2008-April/000900.html ...
1
vote
2answers
17 views

Proper way distribute several scientific experiments across multiple servers?

In case I have 8 powerful machines, what is the proper way to distribute and balance the load from user applications and scientific experiments? Is virtualization right way to go, or is there any ...
0
votes
0answers
15 views

server load and performance testing

Dears, there are some cluster of servers that are responsible for a telecommunication company databases. the OS's was Linux Redhat installed on bare metal till now, but all the clusters are migrating ...
2
votes
2answers
112 views

Tracking from httpd instance to PHP script when PHP is a module

I'm trying to figure out exactly what's going on that kicks CPU usage in random httpd workers so high but I'm having a little hard of a time figuring out what PHP page is being requested so that I can ...
2
votes
2answers
49 views

Slow scp transfer speed over wan

I have got a 300mbit symmetrical fiberoptic line, and I have got to transfer a 51MBYTE tar file from HOST A (fiberoptic 300mbit) to HOST B (digitalocean machine with more than gigabit bandwith). On ...
6
votes
4answers
3k views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did ...
3
votes
0answers
229 views

router latency measured by tcpdump increases

I am using tcpdump to measure latency on a linux router, i.e. the delay experienced by packets as they pass through the router (made of Ubuntu 10). For this purpose, I captured packets in the IN and ...
0
votes
2answers
977 views

Understanding high load average with vmstat, mpstat, sar, and top

I am trying to understand the load average on my system when idle. Here are some results after the system has been running for a few hours, with almost nothing installed. vmstat root@arm:~# vmstat ...
1
vote
1answer
180 views

Reducing Number of MariaDB/MySQL Threads

So I'm running a MariaDB 10 database on a single core server; not super powerful, but then my needs aren't huge either. However, one thing I've noticed is that if I look in htop I have around 28 ...
6
votes
1answer
2k views

Audio/video out of sync when playing MP4s in mplayer

When I try to play MP4 files in mplayer, after a few seconds I get the "Your system is too SLOW to play this!" warning and the video starts lagging behind the audio. It only happens with MP4s, and ...
0
votes
0answers
60 views

Debian 8 performance problems with good hardware

I bought about 6 months ago a good laptop (Lenovo ThinkPad E550 : Intel Core i5-5200U, 8 GO DDR3, AMD Radeon R7 M260) and installed Debian Jessie with Gnome 3 (no unity) on it. The system worked fine ...
1
vote
2answers
68 views

More efficient X-forwarding?

I open GUI remote programs by SSHing with the -X (or -Y) flag, e.g., $ ssh -Y user@host.com Recently, I found there is a much more efficient way to do this with web browsing only: $ ssh -DNNNN ...
1
vote
3answers
5k views

Authentication very slow (both with ssh and su)

I'm having a problem on one of our production servers where the login attempts become progressively slower as time passes. After roughly 5 days it becomes so slow that some critical processes/cron ...
0
votes
0answers
81 views

Slow USB 3 write speed

Writing to my USB 3 thumb drive (SanDisk Extreme SDCZ80-064G-FFP) is very slow on Linux: 1 GB takes longer than 200s. Using Windows (dual-boot on the same computer), the same 1 GB file can be copied ...
1
vote
3answers
86 views

Is there any way of speeding up this DNS script I made? [closed]

Part of my work is doing a lot of different DNS lookups, so I created a script that displays the information that I need in a neat fashion. Problem is it's not very fast. Doing a bash -x I can see ...
1
vote
0answers
61 views

How fast is a process reading/writing virtual memory?

We have top, htop, iotop, iostat, vmstat, etc, to measure many different things on Linux, but how can one measure how much MB/s a process is reading and writing to/from RAM, i.e., virtual memory?
1
vote
1answer
32 views

How to obtain counters for swap-in/swap-out on Linux?

I'm trying to obtain counters for swap-in/swap-out activity on CentOS 6. The intention is to feed raw data into RRDtool to generate graphs, and use it to generate alerts. I've had a look at common ...
1
vote
0answers
26 views

Performance problem Fedora 23 32-bit @ Dell D630 4GB/Nvidia

I have installed Fedora 23 32-bit at Dell D630 4GB with NVidia Quattro NVS 135M (nvidia.ko, not nouveau.ko). And I have permanent performance problem as X-Windows (Gnome) are very slow and laggy. I ...
3
votes
1answer
64 views

What is the overhead of using subshells?

Hopefully this question is not too generic. I am very new to shell scripting and I come from a computer architecture/non-scripting programming background. I have noticed on the scripts at my work that ...
2
votes
1answer
45 views

'cd' complexity on ext4

In order to store attachments, a /path/to/atts/ directory will have numerous child-directories (product IDs) created (from 1 to ~10,000 or maybe more in the future), and in each of this subdir, 1 to ~...
26
votes
9answers
2k views

for vs find in Bash

When looping through files there are two ways: use a for-loop: for f in *; do echo "$f" done use find: find * -prune | while read f; do echo "$f" done Assuming these two loops will ...
1
vote
0answers
57 views

Why my server cannot serve more than 400 concurrent connections

I have an Ubuntu 14.04 LTS, kernel 3.13 in a Intel Xeon + 8Gb box. It has apache 2.4.7 configured in mpm worker with up to 4000 workers. The max bandwidth allowed by the ISP is 100Mbps. If I test ...
8
votes
1answer
3k views

Throttling web crawlers

My website is being DoS'ed by Google webspiders. Google is welcome to index my site, but sometimes it is querying a tagcloud on my site faster than my webserver can produce the results, making my ...
2
votes
1answer
34 views

How does iotop calculate the relative I/O activity?

I am running some heavy I/O processes on my workstation and recently installed iotop to monitor them. Here's a recent screenshot: I'm a bit confused about the readings in the IO> column. It ...
3
votes
0answers
30 views

Is it bad to have thousands of autofs rules?

My company literally has thousands of NFS volumes, which we need to mount on a few of our servers. However, we never mount all of them at the same time; typically we mount about 12 at a time. Most of ...
27
votes
3answers
6k views

Is dash or some other shell “faster” than bash?

I always thought that the only benefit of using dash instead of bash was that dash was smaller, and therefore many instances of dash would start faster at boot time. But I have done some research, ...
0
votes
0answers
11 views

Improving MPI performances on a heterogeneous cluster

I am running some parallel programs on a heterogeneous cluster: 2 CentOS virtual nodes (node 1 & node 2) on a Mac host and 2 others (node 3 & node 4) on a PC. When I run a parallel program (...
3
votes
1answer
21 views

Can I deny use of swap space to a specific process (and have it just get killed)?

While developing some software, a program under test sometimes eats all the memory, then proceeds to yomp into the swap space and start thrashing the disk, leading to a predictable drop in ...
1
vote
1answer
40 views

How to monitor system performance over time

I wrote the below script to determine how my system is holding up against various games. It checks all the vitals (GPU, RAM, and CPU) and then appends the data to a log file. Is this a reasonable ...
1
vote
1answer
24 views

What are the pros and cons of badblock's two non-destructive tests?

I use badblocks to test my 32GB class-10 microSD card that I use to boot my RPi. I already have a functioning file system on it, so I don't want to scan it with the -w option (destructive read-write ...
13
votes
1answer
193 views

Why does `find . -type f` take longer than `find .`?

It seems like find would have to check whether a given path corresponds to a file or directory anyway in order to recursively walk the contents of directories. Here's some motivation and what I've ...
2
votes
0answers
34 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. ...
0
votes
2answers
53 views

Can someone please explain the relation of CPU bottleneck on AIX regarding lcpu and r?

# vmstat 60 2 System configuration: lcpu=12 mem=46080MB ent=1.10 kthr memory page faults cpu ----- ----------- ------------------------ ------------...
2
votes
2answers
73 views

What is the best way to setup 3 HDDs with 3 OS on one computer?

I am building a new PC, I am a developer of whatever people want me to make, but I personally like to code games. To do this, I have a simple set of requirements: Machine must run Windows 7, to run ...
3
votes
1answer
67 views

How can I repeatedly send the contents of a file via socat / ncat to a socket

I'm running some performance testing, and I'm trying to send the same file repeatedly to a socket. If I do something like: $ socat -b1048576 -u OPEN:/dev/zero TCP4-LISTEN:9899,reuseaddr,fork $ ...
1
vote
1answer
41 views

Fast filesystem for virtual backup environments

I know filesystem supporters war is behind the corner and there are plenty of fine tuning guide for each filesystem in the wild, so please stick to the specifications: I'm asking what would you ...
7
votes
2answers
2k views

Massive, unpredictable I/O performance drop in Linux

I'm using Debian testing without any problems for ~6 years (I'm just regularly updating it), but recently it started to show a random behaviour that can be summarized as "Low I/O performance which ...
1
vote
1answer
133 views

UDP receive buffer error

We are running opensips SIP proxy in high traffic environment, it's using UDP protocol. We are seeing sometime RX error or overrun error on interface. I have set rmem_max to 16M but still i am seeing ...
0
votes
0answers
22 views

Ubuntu trusty format disk slower than RHEL7?

I observed that disk formatting is much slower in Ubuntu than in RHEL7. Does anybody know why that is? EDIT: Forgot to mention, I'm formatting the disk with ext4. Using mke2fs
1
vote
0answers
38 views

Configure xterm to use ctrl+shift+c/ctrl+shift+v for copy/paste?

I was using terminator for my terminal emulator, but I'm seeing huge performance issues with it. ie, launching a new terminal session takes 20-30 seconds on my netbook. gnome-terminal is better, but ...
0
votes
1answer
3k views

Physical and logical extents size

I have created a partition with 36TB (/dev/sdb1) in rhel 6.6 Now I want use this for lvm What is recommended size for Physical Extents, Volume Extents and Logical Extents How important PE, VE and LE ...