The speed at which a program runs

learn more… | top users | synonyms (1)

1
vote
1answer
44 views

POSIX shell scripting and performance tuning [on hold]

Nowadays, I'm researching for performance tuning for shell scripting , And I have been prevented to POSIX shell scripting, However it's only a standard, But I think it's rathar than standard for do ...
2
votes
0answers
14 views

How to use blktrace to monitor the eMMC Flash access pattern?

I'm trying to simulate a FTL(Flash Translation Layer) algorithm and evaluate its performance. What I need is a trace file of a flash access(containing information about block and page access). I'm ...
4
votes
1answer
502 views

GNU/Linux, IO performance problems

I have some problems with my system performance. As I was adviced here, I used sar: $sar -u 5 and found out that the problems are caused by a low HDD performance, as I supposed (high %iowait). ...
17
votes
5answers
9k views

Is there a parallel file archiver (like tar)?

Is there something out there for parallel archiving of files? Tar is great, but I don't use tape archives, and it's more important to me that the archiving happens quickly (with compression like ...
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
1answer
20 views

What data transfer / write speeds are to be expected for a badblock destructible write test?

I have purchased a new HDD for my backups. Before entrusting the device with the job of keeping my data safe I want to make sure that it is in good condition. The drive is a new internal 3.5 inch SATA ...
3
votes
1answer
43 views

Abysmal general dm-crypt (LUKS) write performance

I am investigating a problem where encrypting a block device imposes a huge performance penalty when writing to it. Hours of Internet reading and experiments did not provide me with a proper ...
1
vote
1answer
38 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 ...
9
votes
2answers
166 views

What is the IPsec bottleneck in Linux?

I am trying to compare the performance of several network security protocols between two hosts connected in Gigabit Ethernet. My goal here is to see if I can saturate my bandwidth, and if not, what ...
1
vote
0answers
10 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
3answers
58 views

Would installing a desktop enviroment slow down a server?

I would like to install Gnome Desktop with Centos7 and see how it works. Can Gnome be turned on and off when rebooting, or easily removed if needed?
62
votes
3answers
111k 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?
36
votes
4answers
3k views

Reverse grepping

Let's say, I have a really big text file (about 10.000.000 lines). I need to grep it from the end and save result to a file. What's the most efficient way to accomplish task?
0
votes
1answer
30 views

How many interrupts and context switches good for the server?

Munin has chart 'interrupts and context switches on the system'. As far as this is a monitoring tool I assume these values are important for the server performance. So, the question is: how can I ...
3
votes
4answers
1k 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 ...
0
votes
1answer
648 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 ...
0
votes
2answers
26 views

Analyse high load root cause

This is a cents 5.7 32bit VM running inside a vmware 5.5. host. I see high values of load average with low CPU usage. The VM has 4 vCPU’s and load sometimes reach 20. When I run vmstat I see high ...
0
votes
1answer
32 views

Congestion Control algorithm performance testing in FreeBSD

I am working on implementation of a proposed modification of TCP Congestion Control algorithm that would allow to improve it (the CC) by adding a dynamic bandwidth estimation. I have been able (with ...
0
votes
0answers
27 views

Isolating some CPU cores reduce average CPU usage of game servers

Hardware: FX8320 (8 cores) @ 4.4GHz, 16GB I run 10 TF2 game servers. Few days ago I isolated some CPU cores with line in linux grub config: isolcpus=5-7 The strange thing - individual CPU cores ...
1
vote
0answers
23 views

Using `perf` repeatedly with file input

perf can be used to analyze the performance of a program. Say you want to test the performance of a program prgrm, with input from a file, you can run: perf stat prgrm < inp.dat Now when you ...
5
votes
2answers
2k views

Fast elimination of duplicate lines across multiple files

I have a huge amount of data in which each (data-)line should be unique. There are a lot of files in one folder in which this is already true. It is about 15GB splitted into roughly 170 files with ...
1
vote
0answers
21 views

Does orca + RICHPse work on Solaris Containers or local zones?

I have just attempted to get RICHPse version 3.4 running on a Solaris version 10 Sun M5000. It seems to run on the global zone but not on the local zones. On the local zones RICHPse just fails ...
2
votes
1answer
50 views

How to track down the source of I/O spikes?

I am using Linux as a desktop, and keep getting seemingly random I/O Spikes. The machine becomes unusably slow. At first I thought it was just that I don't have enough memory. But looking at the ...
0
votes
1answer
39 views

How does the proc/diskstats work to present that values? And for proc/stat and meminfo?

I am trying to get the diskstats data by same way that the file does. Is there any way to reach that values without reading that file? How the values are placed there? Is there any ".c" file that ...
0
votes
1answer
58 views

Will SSD swap improve performance?

I am wondering if i have only 4GB ram and somehow(virtualbox,browser) isn't enough and i cannot proceed to upgrade(due to ultrabook and soldered memory) will swap held in SSD help the overall ...
0
votes
0answers
21 views

Transmission in idle or slow speed

I am running Transmission on Raspbian via the command line. transmission-daemon is running fine as well as downloading. However after the download is finished and seeding should start, the Raspberry ...
1
vote
1answer
111 views

AIX CPU usage - how to know how many CPUs running?

Over AIX 6.1 - I do see the following output, it says I have 16 Max Physical CPUs; but there are only 8 active - why is that? The system will use the remaining 8 if needed? Or are they disabled? # ...
6
votes
2answers
89 views

Besides cache, what does the Linux kernel use significant amounts of memory for?

My computer feels really sluggish. According to free, I have only ~200M RAM left and more than a gigabyte had to be swapped out. I know that it is good if memory is used for caching but this looks ...
6
votes
1answer
406 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 ...
2
votes
2answers
76 views

Make rsync move (not copy) files on local file system

Can I make rsync to move large amount of files instead of copying them when on local filesystem? I would like it to behave like improved mv command. I know about --remove-source-files option but ...
3
votes
0answers
34 views

How to generate graphs from lmbench results?

I need to use the lmbench benchmarking tool to get the system performance statistics. I am able to execute and run the results. In the results folder this is a MakeFile with this information # ...
0
votes
0answers
44 views

Linux desktop (Mint MATE) requires reboot every few days

Summary After a few days of uptime, my system starts getting slow. How can I determine the cause and fix it? Opening a Youtube video or some web-pages will freeze Firefox for an increasing amount of ...
2
votes
2answers
50 views

Pipe Viewer - Progress monitor performance consequence

I am writing a batch script to sort through gigs and gigs of data. All of the data is text but the script will take a long long time to execute. I would like to give some visual indication that the ...
2
votes
0answers
135 views

Why adding swap space is the slowest part of the booting process? [closed]

I can see that adding Swap space is the slowest part of the booting process. Why? I actually have ~4GB for swap and 2GB RAM memory. dione@saturno:~$ dmesg | grep -C 4 swap [ 2.179979] input: ...
0
votes
1answer
103 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 ...
3
votes
2answers
3k views

ulimit & rlimit in Linux, are they the same thing?

I see people use the terms ulimit & rlimit interchangeably, can I say they are referring to the same thing?
2
votes
0answers
22 views

JVM low-memory tuning

What command-line options would provide the lowest memory-footprint JVM, in OpenJDK, or possibly other JVMs (Linux/Debian)? I'm willing to disable JIT, live with slow or choppy garbage collection, ...
2
votes
1answer
212 views

Understanding why such a discrepancy in network transfer?

Summary: I can't understand a peculiar discrepancy in network transfer. Why is there such a discrepancy in syncing from one machine to the other and vice versa? Also: Given the maximum network ...
0
votes
1answer
34 views

Overhead when relocating a directory to a different file system using a symbolic link

I need to relocate some frequently accessed files to a different file system. The simplest way of doing this is to move the directory containing the files to the new file system and creating a ...
0
votes
1answer
426 views

Simple bash script taking too long to execute

I wrote the following function in my .bashrc for use instead of rm * : function re() { cp . -R /home/glset/ritwik/trash/ rm * } It works .. but it is very slow. Even for small files it takes ...
3
votes
2answers
55 views

How does one determine when a process or machine is IO bound?

I have a node.js process which writes to many different sqlite databases. Sqlite can handle only one concurrent write per database, which is fine since there will be only one write per database at a ...
1
vote
0answers
96 views

'nc' using ~100% CPU when transferring a FIFO file

On the server which is always connected I’m using this in a crontab: @reboot nc -k -l 1337 < /tmp/fifo.fifo On the client which is not always on the network or switched on I’m using this ...
7
votes
3answers
8k 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 ...
0
votes
1answer
181 views

Why Linux games are less performanced than Win 7?

I had Windows 7 x64 and now I have Ubuntu 14.04 on notebook HP 4535s. I expected games to be faster in Linux than on Windows because of fewer machine requirements. But it isn't so... E.g., games via ...
0
votes
1answer
179 views

Does dm-multipath schedule I/O?

I have a multipath device I'm interested in: [root@xxx dm-7]# multipath -ll mpathf mpathf (3600601609f013300227e5b5b3790e411) dm-7 DGC,VRAID size=3.0T features='1 queue_if_no_path' hwhandler='1 alua' ...
1
vote
1answer
112 views

how to choose appropriate linux hardware - poor graphics performance

I can't believe I am asking this question here myself. Apologies if this is not the right place for this question. I've been using linux since 1996, SuSE version 4.1... And yet I am still not able ...
3
votes
3answers
2k views

Any tricks to speed up sort?

For example for bzip there is pbzip, a parallel version of bzip. Is there any such parallelization tools for sort to improve performance?
5
votes
5answers
2k views

How to get better desktop performance in linux?

Normally I do not care much about desktop - performance, since my servers do not run any gui. But at home I run some older hardware (Pentium) which gets sometimes very sluggish (mouse-movements in ...
2
votes
3answers
80 views

Optimise a shell script / command to delete files

I'm running Magento and it doesn't clean up old session data, so I need to clean it up with a shell script / cronjob: 0,30 * * * * /usr/bin/find /var/www/magento/var/session -name 'sess_*' -type f ...
5
votes
3answers
1k 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 ...