Performance tuning is the process of modifying a system to improve its efficiency. This is also known as optimizing.

learn more… | top users | synonyms

2
votes
1answer
7k views

Apache HTTPD configuration for high load [duplicate]

Good day, I want to be able to serve at least 7000 (preferably 10k) concurrent requests from my Apache Httpd. I have configured my httpd.conf with MPM worker with the following setup ServerLimit ...
8
votes
2answers
1k views

Linux RAID-0 performance doesn't scale up over 1 GB/s

I have trouble getting the max throughput out of my setup. The hardware is as follow : dual Quad-Core AMD Opteron(tm) Processor 2376 16 GB DDR2 ECC RAM dual Adaptec 52245 RAID controllers 48 1 TB ...
8
votes
1answer
1k views

Why change net.inet.tcp.tcbhashsize in FreeBSD?

In virtually every FreeBSD network tuning document I can find: # /boot/loader.conf net.inet.tcp.tcbhashsize=4096 This is usually paired with some unhelpful statement like "TCP control-block hash ...
2
votes
2answers
355 views

How does one 'qualify a server'

Here is the scenario. Say you are going to be a purchasing great deal of servers, but first are trying out hardware from a vendor, and you need to qualify it. Also, say that the custom software that ...
3
votes
3answers
1k views

Disk write speed much slower than read speed

I have a VPS server (WiredTree), running CentOS. After experiencing some performance issues I created a simple benchmark for disk read/write speed using the following script: echo Write to disk dd ...
9
votes
2answers
7k views

CPU0 is swamped with eth1 interrupts

I've got an Ubuntu VM, running inside Ubuntu-based Xen XCP. It hosts a custom FCGI-based HTTP service, behind nginx. Under load from ab the first CPU core is saturated, and the rest is under-loaded. ...
5
votes
2answers
584 views

Uneven CPU core utilization

tl;dr: First CPU core is consistently saturated, all other cores are consistently under-loaded. A VM, inside Ubuntu-based Xen XCP: $ uname -a Linux MYHOST 2.6.38-15-virtual #59-Ubuntu SMP Fri Apr ...
0
votes
3answers
1k views

How to speed up apache

We have a server with 8Cores, 16GB of RAM and RAID 0 SAS 10K drives. Our goal is to use this to serve a fairly simple php application quickly. We have tested all other components and we think we have ...
1
vote
2answers
1k views

Troubleshooting poor disk IO performance

Note that while this question is a little Redis-specific, the main problem is generic: a process takes so much HDD IO write bandwidth that other processes can't write anything. We've got an Ubuntu VM ...
4
votes
1answer
3k views

Strange high CPU I/O wait on postgresql server

I'm really struggling with a performance issue currently, where all my database queries takes up to a 1000 times more than normally, when my database server is under "heavy" load. I have a server ...
1
vote
6answers
3k views

How to know if my nginx is in good health?

I am running a nginx on EC2 (m1.small) for SSL termination. I am using 2 workers on Ubuntu, with latest nginx (stable), the network throughput is around 2Mbps and system load average is around 2 to ...
5
votes
7answers
4k views

Linux tool/command to check file system performance

What is the simplest way to check read/write performance to a specific location (e.g. a mounted iSCSI device). I suspect I can't use hdparm because that's lower level. Am I right?
0
votes
1answer
595 views

High response time with pingdom

I have a server hosted at my end, I am monitoring the server with pingdom and also my router. Strange thing is the response time towards the router is fine, but when the traffic flows towards the ...
1
vote
0answers
101 views

Getting the virtual memory address for (major) page faults

On a Linux (Cent OS 5) system, I have a process that accesses a large amount of memory mapped files. The process is generating a large amount of page faults because the aggregated size of the mapped ...
-2
votes
1answer
474 views

Which will give more free RAM to linux? [closed]

Trying to avoid some issues so I've been trying to learn vm. in kernel tuning but still a little confused even after googling. The lower background_ratio is the sooner the flushes? the lower ...
1
vote
1answer
756 views

VM Tuning to enhance performance

vm.bdflush = 100 1200 128 512 15 5000 500 1884 2 vm.dirty_ratio = 20 vm.dirty_background_ratio = 10 vm.swappiness = 10 vm.min_free_kbytes = 300000 That means that the MOST dirty data that can be in ...
0
votes
1answer
197 views

Adding varnish and memcached to an running single server web site

Current set up; I have a single dedicated server running a web site (it's a lamp stack forum) OS : CentOS CPU : Dual 3.2Ghz Quad-core Xeons RAM : 40GBs (10x4GB DIMMs) Storage : Software RAID1 with ...
-5
votes
1answer
360 views

CFQ vs Deadline - performance benefits [closed]

Running CPanel and wondering what would be the best for web hosting? deadline is more balanced over CFQ right so would allow for more I/O activities right
3
votes
1answer
5k views

Disabling CPU management

If I add the following processor.max_cstate=0 to the kernel command line for boot up, does that disable all CPU power management and throttling? I also found: ...
0
votes
1answer
163 views

MySQL Threads or what is this

http://i.stack.imgur.com/dZFqI.png How can I reduce that number? I have a quad core machine. Do I need to edit thread_pool_size and by reducing them do I get better performance? Should a lot of ...
0
votes
1answer
274 views

503 error Varnish cache when eAccelerator is started

I have a Magento installation running on x-large Amazon server. I have Varnish, memcached and eAccelerator installed on the server. At first everything was working fine, but then at some point it ...
1
vote
1answer
4k views

JVM tuning in JBOSS AS 7

Can anyone explain as to where and how do I configure the following JVM parameters to tune JBOSS. I am using the latest JBOSS AS 7. I am using openJDK-6 on Linux. The following are the parameters ...
11
votes
13answers
8k views

Postfix performance

Running postfix on ubuntu, sending alot of mail ( ~ 1 million messages ) per day. loads are extremly high but not much in terms of cpu and memory load. Anyone in a similiar situation and know how to ...
1
vote
1answer
337 views

RRAS (Routing and Remote Access) change process priority to “realtime”?

I have a windows server 2012 running RRAS and some other services. Beacause of that I guess I have experience some slowdowns and dropout of package. My question is how to find, and change the ...
1
vote
2answers
1k views

How to tune down the Hyperic built-in postgresql database for a small setup

We are testing out Hyperic 4.5.1 in a quite small environment for now. Currently there are just 1-5 agents and there probably won't be any more than 10-15. When I run ps ax there are 20(!) postgres ...
1
vote
1answer
658 views

Doubled up RAM to 32 GB - now how to speed up a “LAPP” server?

I run a small Facebook game at a CentOS 6.3 quad core machine with PostgreSQL 8.4.3 + few PHP scripts (doing mostly select queries) + 1 Perl daemon and even though the server worked ok, I've suggested ...
-1
votes
1answer
747 views

MySQL runs at >=100% CPU, heavy disk I/O?

Recently my Debian Linux server has been experiencing slow web server response times. I've investigated and it seems that MySQL is the culprit, yet there are no slow queries indicated by the slow ...
3
votes
3answers
5k views

HP P410 RAID + Samsung 830 SSDs + Debian 6.0 - What performance to expect?

I'm renting two dedicated servers from a hosting company. Here are the specs: server1: HP ProLiant DL165 G7 2x AMD Opteron 6164 HE 12-Core 40 GB RAM HP Smart Array P410 RAID controller 2x Samsung 830 ...
2
votes
1answer
785 views

Different block sizes for partition and underlying logical disk on HP Raid Controller (Linux)

Following links collected in this thread I started to check blockdev and found the following output indicating different sizes for partition c0d9p1 and the underlying device (c0d9): [root@machine ~]# ...
27
votes
3answers
13k views

Linux - real-world hardware RAID controller tuning (scsi and cciss)

Most of the Linux systems I manage feature hardware RAID controllers (mostly HP Smart Array). They're all running RHEL or CentOS. I'm looking for real-world tunables to help optimize performance for ...
3
votes
1answer
3k views

Openfiler iSCSI performance

Hoping someone can point me in the right direction with some iSCSI performance issues I'm having. I'm running Openfiler 2.99 on an older ProLiant DL360 G5. Dual Xeon processor, 6GB ECC RAM, Intel ...
2
votes
1answer
87 views

Server hanging when serving random file on page load

I'm optimising a website, and the problem I'm facing with now is server related. During page load, there are about 40-50 requests sent to server (depending on the page), and in every case, server ...
1
vote
3answers
354 views

Config MySQL to maximum speed and memory

I have a server, 8 cores, 12 GB RAM. This server is only used to run MySQL. So, help me config /etc/my.cnf to maximum speed, memory for MySQL.
1
vote
2answers
1k views

How to preserve sysprep from changing Default User settings

I'm having diffculties configuring 20 new Dell Vostro minis here. I set up one of them with my preferred OS, applications and settings, especially the Visual Effects Settings of Windows XP. I set them ...
1
vote
0answers
273 views

Can I tune my Debian KVM server to benefit my Windows guest?

Debian Squeeze KVM server with Win2k8 server guest. The server has 16GBs of RAM and the guest only runs MS SQL, with a 15GB database on it. I am wondering if there is anything I can tune from the ...
0
votes
1answer
836 views

Perfmon - Redirector current command 0 result

I'd like to monitor how many SMB connections there are at any given time for my 2008R2 file server, but when I add Redirector/Current Commands in perfmon, I get 0 results. This KB from Microsoft isn't ...
1
vote
2answers
1k views

Good VPS In London? [duplicate]

Possible Duplicate: Who is your favorite VPS Provider? I'm looking to rent a Windows VPS in (or near) London, England. I want to be able to do performance testing of our North American web ...
0
votes
1answer
287 views

ionice or chrt for Bonnie benchmark

I am running Bonnie benchmark on an embedded device and I am getting variable results for every run. I am contemplating using ionice and / or chrt to get around it. Can you suggest which option is ...
0
votes
1answer
422 views

adding new scheduling policy to the kernel

i'm working on a redhat 8 linux and i want to add new policy for scheduling the processes , could you help me with : 1) where to define the new policy 2) how does the process of assigning a policy for ...
6
votes
1answer
151 views

How to prevent IO Load under Linux for Video serving?

I'm currently serving videos of conferences via Nginx on 3 servers; 4 cores, enough memory (no swap used) and RAID-10 with 8 drives per server. Unfortunately iostat -xd 1 gives me 100% on all 3 ...
0
votes
4answers
1k views

Exchange 2010 SP2 OWA performance

How do I increase performance in OWA 2010 SP2? I am running CAS on a seperate installation, which has 8GB RAM and 4 CPU cores - running virtualized in a vmware environment. However, the load times ...
0
votes
1answer
400 views

Linux kernel 3 TCP IP tuning

I found several resources about tuning linux TCP/IP stack parameters in /etc/sysctl.conf for high bandwidth connections, but all refer to kernel 2.6. Does anyone have suggestions about how to tune ...
0
votes
2answers
58 views

How can I decide up the nature of performed IO?

I am using Linux (3.2.12-3.2.4). I have few "syncer" processes which updates lots and lots SQLite db files in a loop. The database sizes vary from 1 MB to few GB. I have a "searcher" process which ...
7
votes
3answers
524 views

Unexplained periodic humps in system CPU usage on W2K3E

We have a Windows 2003 R2 Enterprise 64-bit server running a custom workload suffering from an odd performance problem. The pared-down version below suffers from a smaller hump, but it's qualitatively ...
-3
votes
1answer
181 views

Can a large number of network hardware interrupts cause a machine to be underutilized?

I don't know much about networking sorry. I'm building a client / server where the server streams a lot of data to the client and I'm trying to maximise throughput (through TCP). If I run both client ...
3
votes
4answers
2k views

Optimizing RAID 5 for BackupPC use (small random reads)

I am running a BackupPC server with a hardware RAID 5 for the main storage of the backups. Since the machine was created on a tiny budget, the controller is a 3Ware 9500S-4LP for the PCI port and the ...
1
vote
2answers
415 views

Apache2 on linux - how to track down performance trouble

I am stuck on this topic for a while now: How can I get more details on where response time burns. My Problem is the extreme variance in response times. Sometimes it takes the server 5 or 10 seconds ...
0
votes
2answers
1k views

How to turn linux to keep 'cache' high?

We are running a heavy service on Debian. Our service generates lots of file i/o and its performance relies on how well Linux kernel caches files. Our system has 64GB memory. Total file size is 500GB ...
5
votes
1answer
447 views

How long is the “defined grace period” for the idle scheduling class of the CFQ io scheduler?

The ionice man page says A program running with idle io priority will only get disk time when no other program has asked for disk io for a defined grace period. Where is this "grace period" ...
5
votes
1answer
1k views

How do I test the effect of ionice (against a device using the cfq scheduler)?

I'm trying to construct an experiment to measure the effect of ionice. What I'd like to do is to (per another answer on serverfault) cause frequent enough I/O that a sufficiently "niced" process is ...