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

learn more… | top users | synonyms

0
votes
1answer
428 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
6answers
2k 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 ...
2
votes
1answer
3k views

Lot of FIN_WAIT2, CLOSE_WAIT , LAST_ACK and TIME_WAIT in Haproxy

We are running haproxy in production for around 10k+ concurrent users. But we are seeing lot of FIN_WAIT2, CLOSE_WAIT , LAST_ACK and TIME_WAIT in the netstat output. This output is on a 8G ...
-2
votes
1answer
312 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
612 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 ...
1
vote
0answers
94 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 ...
0
votes
1answer
177 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
314 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
4k 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: ...
7
votes
2answers
5k 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. ...
4
votes
2answers
400 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
1answer
97 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 ...
1
vote
2answers
939 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 ...
0
votes
1answer
246 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
995 views

How do change the max IO request size on Windows Server 2008 R2

As I understand it Windows Server 2008 R2 has the ability to send IO requests to the storage subsystem of up to 1MB in size. Back in the Server 2003 era (and before) this used to be limited to 64KB. ...
1
vote
1answer
3k 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 ...
1
vote
1answer
268 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
votes
1answer
623 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 ...
1
vote
1answer
489 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 ...
3
votes
3answers
4k 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 ...
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
85 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 ...
2
votes
1answer
658 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 ~]# ...
1
vote
0answers
255 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
715 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 ...
6
votes
1answer
139 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 ...
-3
votes
4answers
23k views

How to achieve 500K requests per second on my webserver? [closed]

I recently gifted myself a new dedicated server and I am trying to squeeze maximum performance out of it, for fun and learning. I am trying to achieve maximum possible requests per second this server ...
13
votes
7answers
21k views

Apache Tomcat chokes after 300 connections

We have an apache webserver in front of Tomcat hosted on EC2, instance type is extra large with 34GB memory. Our application deals with lot of external webservices and we have a very lousy external ...
0
votes
1answer
349 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
4answers
946 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
2answers
57 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 ...
-3
votes
1answer
168 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
1k 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 ...
7
votes
3answers
489 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 ...
1
vote
2answers
391 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 ...
3
votes
2answers
459 views

IIS 7 — how to track down mysterious network & cpu usage?

I've got a 64-bit Server 2008 (R1) box running IIS. Users were complaining about extremely slow-loading pages. After digging around I found: After isolating the box so only one user was able to ...
1
vote
3answers
2k views

Strategy to optimize raid cache

HP SmartArray have "Accelerator Ratio: XX% Read / YY% Write", that configures how much cache ram dedicated for read, and how much for write. Is there way to find best proportion on alive server in ...
-2
votes
1answer
48 views

Ideal number of server, setup and management [closed]

Have read how large scale sites use different servers for different purpose. Here's what I have in mind: Main app - 1 server Database - 1 server Static files - Cloud hosting (e.g. AWS) Backup - 1 ...
23
votes
3answers
10k 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 ...
7
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 ...
5
votes
1answer
970 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 ...
3
votes
2answers
150 views

Measuring I/O Performance Paradox

I'm trying to figure out the correct way to get the 'real world' write performance of my NFS cluster. The NFS export is mount on a XEN hypervisor, and I'm running 'dd' from within a VM. What I ...
2
votes
2answers
271 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 ...
4
votes
1answer
431 views

How does php know what memcached node to look for its data in?

I am new to the world of Memcached clusters If I have a php web application that is using memcache - how does it does its hash and decide what node to check for a particular value to avoid having to ...
0
votes
1answer
166 views

Trade reliability for speed in a slow filesystem

On my box running Ubuntu Server 11.10 I have a rather slow soft RAID6 array on four USB sticks (and no other means for persistent storage). I want a faster filesystem on that box. I'm OK if I'd lose ...
3
votes
1answer
368 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" ...
1
vote
5answers
2k views

Windows Server 2008 R2 poor CPU performance

We have two identical servers with the following specs: 4 sockets containing AMD Opteron 6172 at 2.10 GHz each of which have 12 cores 64 GB RAM One runs Windows Server 2008 R2 Standard, which ...
3
votes
2answers
1k views

ApacheTop like tool for Nginx for measuring hit contents?

Are there ApacheTop like tool for Nginx for measuring hit contents? I want to find out the most popular URL from the web server log (Nginx)
4
votes
2answers
679 views

ratelimit POST requests

Im running a large wordpress multiuser site. I have a varnish cache infront of the wordpress application server. As it make no sense to cache POST requests, i am vulnerable to DOS using lots of POST´s ...