The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
94 views

How much speed difference for a tweaked bios versus uefi boot? [on hold]

EFI can be faster, but that's not certain. The biggest speed difference is in hardware initialization early in the process. On my systems, this is a fraction of the total boot time, so a ...
2
votes
1answer
28 views

How to test Disk IO on VMs with iozone?

I want to test the disk IO performance like read, write, random read, random write and so on both in physical machine and VMs (with aufs file system). Also I want to test the throughput performance in ...
5
votes
4answers
650 views

Can I just disable updatedb?

Is updatedb necessary at all? I never use locate and my servers tend to have dozens of millions of files which usually makes updatedb to run for a long time and consume I/O needed by MySQL and/or ...
17
votes
3answers
14k views

What is the most high-performance Linux filesystem for storing a lot of small files (HDD, not SSD)?

I have a directory tree that contains many small files, and a small number of larger files. The average size of a file is about 1 kilobyte. There are 210158 files and directories in the tree (this ...
0
votes
2answers
66 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 ...
-1
votes
0answers
19 views

Maximum of waiting processes for a healthy system [closed]

What is a maximum number for waiting processes on a healthy system?
0
votes
0answers
13 views

Why would attempts to bind affinities for rcu kthreads fail?

I am trying to get full tickless mode working on my box on Ubuntu kernel 3.10.39. I am running the following command: for i in `pgrep rcu` ; do taskset -pc 0 $i ; done It seems to work on some of ...
3
votes
2answers
241 views

What is the expected performance of obnam? Or: why is it so slow?

I've been playing around with obnam these last few days, and although it looks very promising and seems to offer basically everything I ever wanted in a backup tool, I am pretty disappointed in its ...
1
vote
1answer
20 views

why doesn't iozone generate output file?

I'm using iozone3 for tesing, on Xamin (an Debian-based OS). When I enter iozone command, for example iozone -Rab output.xls, the test runs successfully. But after running the test (after displaying ...
0
votes
3answers
38 views

dd write vs read performance

I have recently done some performance tests on a new server (using dd) and wonder why read performance is so much worse than write performance? Shouldn't it be another way around? file size was in ...
4
votes
1answer
1k 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 ...
2
votes
4answers
331 views

Why is writing so slow on raw device, and so fast on filesystem (USB key)?

I have a USB key 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 a 4 GB sequential ...
4
votes
6answers
151 views

grep with a lot of files which contains a lot of lines?

Imagine we have a lot of huge(30000 line)files: a.2014-05-06, a.2014-05-07, a.2014-05-08 and so on. I know that we can grep a line with word using this command: grep "word" a.* First I guess this ...
16
votes
1answer
10k 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?
0
votes
0answers
27 views

Ubuntu 13.10 x64 - slow and acting strangely gvfs+NTFS

I have updated Ubuntu 13.10 x64 to latest stable releases of all packages. I'm running GNOME and using SSD disks on USB 3.0 ports in lenovo Y500 notebook. I'm using Midnight Commander (as root) in ...
0
votes
1answer
65 views

Lower cpu performance in Linux [closed]

I have a problem with my CPU performance in Linux. I have a laptop, Toshiba Satellite C660-101. Despite the fact that the CPU works perfectly fine in Windows 7, Linux has some serious issues. ...
0
votes
1answer
37 views

RAID Level 5 versus Level 1

Is it slower to write one block in RAID Level 5 with 5 disks than RAID 1 with two disks (mirroring only)? I think No since with Level 5 you are writing the data and the parity (two writes). With Level ...
6
votes
2answers
125 views

Reduce bad block retry / wait times in Ubuntu

How can I reduce the IO wait time and retry times so that the OS doesn't continually try to write to a failing drive? I have an system that I use to make copies of demo content that gets loaned out ...
7
votes
3answers
798 views

What are the exact differences between awk and cut with grep? [closed]

We know that we can get the second column of the line we want from a file using these two techniques: awk '/WORD/ { print $2 }' filename or grep WORD filename| cut -f 2 -d ' ' My questions are: ...
2
votes
2answers
64 views

Will grep go faster with line breaks?

I have some big files that I have changed into "standardized form", removing line breaks. I want to speed up greps on those files. I know that you can optimize grep by doing grep 'partofpattern' | ...
15
votes
2answers
388 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, ...
2
votes
2answers
2k views

Running thousands of curl background processes in parallel in bash script

I am running thounsand of curl background processes in parallel in the following bash script START=$(date +%s) for i in {1..100000} do curl -s "http://some_url_here/"$i > $i.txt& ...
9
votes
1answer
60 views

Limit on the number of btrfs snapshots?

I am considering using btrfs on my data drive so that I can use snapper, or something like snapper, to take time based snapshots. I believe this will let me browse old versions of my data. This would ...
0
votes
1answer
265 views

Samba daemon hammering CPU on CentOS 5.6 VM on bootup

I have a problem where my Centos 5.6 VM is running very slow on my Win7 machine, and looking at top I can see that the Samba daemon smbd is sitting at the top of the list hitting the CPU big time, ...
3
votes
7answers
898 views

How can I defragment my SSD on linux?

This page demonstrates that defragmentation is beneficial for SSDs. I suppose this type of defragmentation has to be trim-aware, so as to preserve the life time of the disk. How can I do that on ...
0
votes
1answer
411 views

NFS server optimization for maximum performance

I'm looking for maximum of performance for a NFS mount. I'm on local network, it could be completly unsecure, the performance is the most important in my case. What I already found : In /etc/export ...
7
votes
2answers
454 views

Why is `tac file | grep foo' (piping) faster than `grep foo < <(tac file)' (process substitution)?

This question was motivated by "Reverse grepping", about grepping a huge file from bottom up. @chaos said: tac file | grep whatever Or a bit more effective: grep whatever < <(tac file) ...
0
votes
0answers
21 views

Can ramdisk improve performance when stats show low wait and system cpu use?

I have jobs that do I/O of rates peaking around 200mb/s. On high load (over twice cpu cores) I tried to copy large file and got only few mb/s. Gathered dstat show single digits in wai and sys category ...
3
votes
2answers
66 views

Testing the Success of a Congestion Algorithm

How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms. I'm current looking at ...
5
votes
1answer
161 views

Attempting to Abbreviate kSAR's PDF output

I'm currently writing a cronjob around kSar's command line (non-GUI) options in order generate PDF's. I'm just going to email a PDF of the previous day's activity to a different webmaster (basically ...
3
votes
1answer
61 views

Artificially prime buffer cache?

Is it beneficial to artificially prime the buffer cache when dealing with larger files? Here's a scenario: A large file needs to be processed, line by line. Conceptually, it is easy to parallelize ...
6
votes
3answers
5k views

is there an open source tool to measure cpu performance?

I have used many times ab for measuring web performance, hdparm for measuring hard disk performance and netperf for measuring network performance. But I didn't find any tools to measure cpu ...
1
vote
0answers
10 views

Ubuntu with LAMP+Mediawiki suffering spikes

I'm sorry if this question is off topic, but I'll give it a shot: I have a VPS running Ubuntu 12.04, a LAMP stack, and Mediawiki. After installing Mediawiki I noticed that my wiki site was spiking, ...
8
votes
1answer
2k views

How to make dpkg faster?

Package (un)installation on a Debian system is horribly slow, partly because it works with a whole bunch of (small) files. Short of getting faster storage, how do I speed it up? I'm thinking maybe ...
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 ...
1
vote
1answer
53 views

Slow Linux machine [closed]

Every time I login (via ssh) in my Linux/debian computer it takes too long for the password prompt to appear. Also, every time I try to run a python script or a tcpdump it takes too long until it ...
8
votes
2answers
870 views

What keeps one side of an rsync so busy?

I've got a Debian machine on my LAN serving as a backup server for the others. It has four HDDs combined into a software RAID 5 md device, on that an LVM, and on that btrfs. Backups are made using ...
23
votes
3answers
992 views

Should I care about unnecessary cats?

A lot of command-line utilities can take their input either from a pipe or as a filename argument. For long shell scripts, I find starting the chain off with a cat makes it more readable, especially ...
2
votes
0answers
39 views

Cgroups - memory subsystem

I want to set the memory.limit_in_bytes parameter for a control group and disable OOM, so processes freeze when the limit is reached. But i want to change that limit dynamically, if there is more ...
1
vote
0answers
29 views

apache mod_security and performance

I have a list of bots to block, so I was thinking that fail2ban could be a solution until I realized that mod_security would be more efficient in this kind of tasks. The number of bots is huge, so ...
0
votes
0answers
40 views

OTG musb and full speed bulk endpoint throughput

We are developing an application on an OMAP3 device (DM3730 ti). An acquisition board gets samples and sends them to the OMAP board via USB. This acquisition board does a 16KHz sampling which ...
3
votes
3answers
75 views

Advantages to uploading files to /tmp before moving off to permanent storage?

It seems the common trend in programming when building functionality for handling file uploads is to have the file first uploaded to a temporary directory/folder (e.g. /tmp on Linux). Once the file ...
3
votes
2answers
278 views

Large ext4 partition ridiculously slow when writing

We have four identical Linux servers with a large (5T) hard disk partition. We have Scientific Linux with this kernel: Linux s3.law.di.unimi.it 2.6.32-358.18.1.el6.x86_64 #1 SMP Tue Aug 27 14:23:09 ...
2
votes
0answers
60 views

Does ionice work with the deadline scheduler?

My Debian Wheezy systems use the deadline scheduler. I'm accustomed to using ionice to reschedule the I/O priority of disk-intensive jobs at busy times, and anecdotally this seems to help (but I ...
1
vote
0answers
43 views

Do kernel threads seem to interfere with full tickless mode?

I'm trying to disable local timer interrupts for low latency. I have full tickless mode enabled in the kernel config and I have the boot parameter nohz_full set for the cores in question. However ...
2
votes
1answer
235 views

Very high CPU load, but nothing significant in top

I'm running Ubuntu Linux 12.04.1, with VirtualMin 4.08.gpl GPL and 2 CPU cores. Pretty much all the time for the last few weeks, it's been running at well above load average of 5, usually up closer ...
0
votes
1answer
101 views

How do I create a RAM disk on Linux Mint?

I am running a package that adds data to the end of 140–300 files each time through the process. I'm thinking of moving the process to a RAM disk, and using rsync to copy it back when done. My goal ...
22
votes
4answers
2k views

How to limit resource usage to save CPU+RAM for a certain process?

I have a dev server on which sshd sometimes stops working because the machine runs out of RAM. Yes we are running low on memory and upgrading is not a feasible choice right now. What I want to do is ...
1
vote
2answers
171 views

Very poor read performance compared to write performance on md(raid1) / crypt(luks) / lvm

I'm experiencing very poor read performance over raid1/crypt/lvm. In the same time, write speeds are about 2x+ faster on the same setup. On another raid1 setup on the same machine I get normal read ...
4
votes
3answers
803 views

slow media - disk cache tuning?

Is there any way to make the system more consistent when using LUKS? (or slow storage in general) as it is everything is snappy until the write buffer is full, then everything grinds to a halt as the ...