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

learn more… | top users | synonyms

8
votes
2answers
5k views

Should we mount with data=writeback and barrier=0 on ext3?

We've been running a server on a VM at a hosting company, and have just signed up for a dedicated host (AMD Opteron 3250, 4 cores, 8GB RAM, 2 x 1TB in software RAID, ext3). While running performance ...
2
votes
2answers
820 views

Changing memory allocator to Jemalloc Centos 6

After reading this blog post about the impact of memory allocators like jemalloc on highly threaded applications, I wanted to test things on a larger scale on some of our cluster of servers. We run ...
0
votes
1answer
297 views

Varnish: Exclude section of page

Is there any way to exclude some webpage parts from cache? For example, I have Recent Additions block on my homepage which gets refreshed after every 15mins. I know there is something like ESI ...
1
vote
1answer
3k 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 ...
2
votes
1answer
4k views

Manage Win7 Performance Options via GPO

Our company has many virtual Windows 7 instances. Based on recommendations from VMWare, we want to customize the visual effects to optimize performance. We have found that we can change the following ...
1
vote
2answers
135 views

Visualize overloaded nic in linux (kernel time)?

I have a linux server that keeps getting its NIC overloaded and I need to visualize how and why this is occurring based on connections and CPU utilization. How do I do this? For example; for me to ...
1
vote
0answers
253 views

Copying cause big iowait

I have dedicated server with 3 HDD. System disk, backup disk (same as system disk) and data disk. When I copy lot of data with cp (say, between backup disk and data disk) load average goes sky high. ...
0
votes
0answers
184 views

RAID10 (4x SSD) system is super slow for 'dd' and 'find' commands

I have configured two servers each with 32 GByte RAM, 2x Xeon 2.4 GHz, 4x 480 GByte Intel SSD on a LSI MegaRAID SAS 9261-8i controller. They should be identical, however one of them has a very poor ...
0
votes
0answers
409 views

Ubuntu 12.04 64bit - What would cause high System CPU %sys during high MySQL loads?

128GB RAM, 32cores Xeon RAID 10 SSD. Mysql version is the latest 5.5 for Ubuntu 12.04 . We have a lot of queries - about 1800+ per second. During high MySQL load - 2700+% load on a 32 CPU system - ...
0
votes
0answers
42 views

Job run-time variations on dual socket computer

I'm running scientific software (WRF-NMM, atmosphere simulation, weather prediction). On all computers I used it, job running times of run cycles were consistent. All those machines were one socket, ...
2
votes
3answers
453 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
272 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 ...
1
vote
1answer
2k 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
197 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
397 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
81 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
143 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
208 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
2k 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
2k 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. ...
3
votes
2answers
283 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
87 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
662 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
197 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
552 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
2k 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
195 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
453 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
325 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
3k 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
2k 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
72 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
459 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
194 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
465 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
121 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 ...
-5
votes
4answers
14k 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 ...
11
votes
7answers
10k 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
260 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
719 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
150 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 ...
2
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
441 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
351 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
969 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
437 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
897 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 ...