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

learn more… | top users | synonyms

25
votes
7answers
9k views

Is it OK to run perfmon on production servers? And why?

Or should perfmon be limited to a Dev/QA server with load tests that simulate production activity? I'd like to run perfmon for two days (like Sql Server master Brent Ozar suggests) to get an overall ...
0
votes
2answers
62 views

nginx can't execute many requests

I have a question about nginx tune. I have an application which I want execute 200 times every second. I created bash file and used wget with bqO switch for execute. But it has a problem. When the ...
7
votes
5answers
7k views

Windows 7 network performance tuning for LAN

I want to tune Windows 7 TCP stack for speed in a LAN environment. Bit of background info: I've got a Citrix XenServer set up with Windows 2008R2, Windows 7 and Debian Lenny with Citrix kernel, ...
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)
1
vote
3answers
2k views

NFS Over OpenVPN: Top Performance Boosters

I have two VPS's - One is running 2008 Server R2 and the other is a Ubuntu 12.04 installation. I am using the Windows VPS for RD sessions for Quickbooks and a couple other apps and using the Ubuntu ...
13
votes
3answers
1k views

Virtual machines and I/O heavy workload, is it ever sane?

I have seen on numerous virtualization services (Azure) and products (vmware,kvm,hyperv) I/O and system stalls under heavy I/O workload. My questions are: Is it ever sane to use a Virtualized ...
6
votes
1answer
6k views

Best sysctl.conf configuration for high load - extremely busy content streaming server

What is the best sysctl.conf configuration for a high load, extremely busy content streaming server ? The server fetches the content from remote servers like amazon, s3, etc. then uses php to ...
1
vote
1answer
1k views

apache and ajp performance

I have an apache sitting in front of two tomcat app servers(one on the same physical server, the other on a different one) that does time consuming work(0.5 sec to 10sec per request). The apache http ...
0
votes
1answer
15 views

Percona: What are the implications of changing repl.commit_order?

I'm currently doing some trials of Galera Cluster with Percona 5.6. I've progressed to testing a 2 node cluster on baremetal. With repl.commit_order set to 0 (off) the TPS performance as measured with ...
0
votes
1answer
33 views

How to resolve '[info] server seems busy' from apache server logs?

I've seen this question asked a few times but it hasn't had any real answer; so I've decided to post my resolution. The below info message can be seen in the apache error.log: [info] server seems ...
0
votes
1answer
403 views

Why is GlusterFS so slow here?

We've set up a mirroring pair of GlusterFS servers. No special tuning, whatever came "out of the box" with GlusterFS-3.5.1 in the official RHEL6 RPM, that's what we have. The cluster works, but the ...
0
votes
2answers
42 views

how to find the highest IO consumer on a disk? [closed]

Can some one help to find highest IO consumer on each individual disks? i.e Which process consumes the most IO on /dev/sda, the highest IO consumer on /dev/sdb etc.
2
votes
1answer
79 views

ESXi very slow with WD reds

I have a small company and we offer tech support to small companies. I've been using the HP Gen8 MicroServer in most of them as a replacement of homebuilt computers for some time. Sometimes customers ...
-1
votes
2answers
347 views

How To Tune Apache on Ubuntu 14.04 Server

Currently on my Apache 2 (Apache 2.4.7 to be exact) on Ubuntu 14.04, I have this setting: /etc/apache2/mods-enabled/mpm_prefork.conf <IfModule mpm_prefork_module> StartServers ...
3
votes
4answers
170 views

MySQL taking too much CPU

Below is my .cnf file and if I see my CPU consumption 99.99% of it my the mysqld commands. The MySQL server is connected from remote machines that update data in it frequently, but I make sure that ...
7
votes
1answer
138 views

What do users see when Apache reaches MaxClients?

Occasionally, in my Apache error log, I will find: [error] server reached MaxClients setting, consider raising the MaxClients setting I've purposely lowered MaxClients in the past (to 60) due to ...
0
votes
1answer
41 views

Does Apache mod_status give any insight to tuning Apache config?

Does the Apache mod_status output give any insight to tuning Apache prefork config? For example, using Apache's mod_status, I figured out that My server gets 3 requests/sec average, the range is ...
2
votes
1answer
92 views

NFS performs ways worse than SSHFS, how can I debug?

Situation: zfs server over 10GbE p2p at 192.168.201.1 running omnios, debian client at 192.168.201.2. The nfs performs fairly well on big files but horribly slow on small ones. For instance, cp -r ...
0
votes
1answer
204 views

epoll timeout configuration in lighttpd

Is there a configuration option to tune epoll timeout in lighttpd? I'm developing an embedded Linux (2.6) device, with lighttpd 1.4.30. And I'm observing the following issue: even when the system is ...
0
votes
1answer
64 views

How to diagnose Nginx bottlenecks at specific number of users

Firstly, I know this is a loaded question, but I hoping that you guys will be able to point me in the right direction.... We've got a number of nginx-fronted web heads which site behind an AWS ELB. ...
1
vote
1answer
1k views

Slow performance due to txg_sync for ZFS 0.6.3 on Ubuntu 14.04

I am using native ZFS with "ZFS on Linux" installed from the PPA here. Setup was not a problem and I am using it in mirrored configuration with two WD 4TB Red HDDs. Unfortunately I am having ...
1
vote
0answers
72 views

Multipath tcp application level performance measurement

I am working on a project related to Multipath tcp and I want to measure the goodput and the RTT at the application level. I don't want to use a traditional tool(netperf, iperf, ...) and I want to ...
100
votes
4answers
138k views

FreeBSD performance tuning: Sysctl parameter, loader.conf, kernel

I wanted to share knowledge of tuning FreeBSD via sysctl.conf / loader.conf / KENCONF / etc. It was initially based on Igor Sysoev's (author of nginx) presentation about FreeBSD tuning up to ...
1
vote
2answers
1k views

Optimize Apache for EC2 micro instance

I'm running apache2 on a EC2 micro instance with ~600 mb RAM. The instance was running for almost a year without problems, but in the last weeks it just keeps crashing, because the server reached ...
0
votes
0answers
24 views

How to measure file access by process over time?

I would like to take a sampling of data / file access over the course of several hours or days in order to ascertain what processes (with their accompanying files) are consuming the most drive IO in ...
2
votes
2answers
321 views

Configure HAProxy on Linux to accept 10K simultaneous connections

I have HAProxy 1.5 running on Ubuntu 14.04 (modified). It accepts connections on http and https ports. Two backend applications process requests using persistent connection. When I create around 2200 ...
0
votes
0answers
22 views

How to ascertain where to effectively allocate server resources?

I have recently received an upgrade to one of my servers of a 256GB SSD drive (this is in addition to two other primary 1TB drives) and a memory upgrade bringing the server to 64GB from 32GB of RAM. ...
7
votes
5answers
5k views

Configuring NTFS file system for performance

We have an application that is planning to store around 1.1TB of XML files which average 8.5kb in size. These represent a rolling 18 months of data, with around 200,000 new files being created every ...
1
vote
0answers
72 views

Performance issues with cross-drive NTFS junctions

I have the following setup: Windows 8.1 32-bit Drive 0: system drive, SSD, NTFS, mounted at C:\ Drive 1: data drive, magnetic HDD, NTFS, mounted at C:\Users\Database User\Documents and Z:\ ...
0
votes
2answers
167 views

increase nginx active connection more than 65535

currently I'm doing setup for nginx to accept C1M, I do in my Virtual BOX with Centos 7.0 and RAM 10G. Here my sysctl.conf configuration. fs.file-max = 9999999 fs.nr_open ...
0
votes
1answer
70 views

Seeking advice on performance metrics based on NewRelic dashboard

Some background: I have been given access to our newrelic dashboard for the production servers running a django app on an AWS account, and tasked to come up with some gatling.io (performance testing ...
-1
votes
1answer
108 views

measuring network throughput with netperf

I'm doing benchmark test of Linux server using netperf. According to information at networksecuritytoolkit the theoretical max throughput rate for 1514-bytes packets is 117.35 Mbp/s. However I'm ...
0
votes
1answer
236 views

BTRFS, sector alignment and Advance Format Disks

I want to set up a BTRFS RAID1 setup with two WD Red 4TB disks, which possess 4K sectors. Since I am keen to get it right the first time before copying data to it (yes it will be backed up), my ...
0
votes
1answer
422 views

Tuning Apache KeepAlive Timeout for HTTPS

My website forces HTTPS everywhere and has an average first load time of 3-5 seconds. Thanks to caching, repeat load time is 0.8 seconds. The SSL negotiation takes 150-300ms on my server, so I want ...
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. ...
3
votes
1answer
903 views

difference between taskset and cpuset

I'm trying to reduce the latency of my linux network application. I've learned that there are two tools for "binding" a program to particular CPU core: taskset and cpuset. Which one should I prefer? ...
2
votes
1answer
111 views

Data Transfer Speed Hardware Config

First off, I am sorry if this gets a little scattered, it encompasses a large problem for me I have been dealing with for some time. Here is a little background: I operate an educational website ...
0
votes
0answers
109 views

Slow Tableau server performance in a datacentre

I'm installing Tableau Server 8.3 in our hosted datacenter and experiencing strange behavior. When I run a workbook on my ( average) laptop (8GB, 4 cores, SSD) in Tableau client, it runs in about 10 ...
1
vote
1answer
153 views

Tuning Linux TCP for large number of TIME_WAIT

It looks like we have a bunch of tcp connections hanging around on a busy webserver, this is the output from ss -s: Total: 366 (kernel 1037) TCP: 72108 (estab 130, closed 71964, orphaned 0, synrecv ...
0
votes
0answers
1k views

Apache Worker MPM / PHP-FPM Tuning

I have a VPS running CentOS 6.5, Apache 2.2, PHP-FPM v5.4 and MySQL 5.5. I take advantage of APC and Memcache. The VPS has 8 cores and 8GB RAM. I'm running a medium volume site (15,000 users / day, ...
2
votes
1answer
125 views

Will noatime on a tmpfs volume improve performance?

I am using /run/shm/myfolder for nginx micro caching, also keeping ngx_pagespeed files there. I am wondering if there will be a speed increase if I go from relatime to noatime? It's for HDD, but on a ...
0
votes
0answers
28 views

Capacity planning of messenger server [duplicate]

This is regarding a messenger server being developed. This will have thousands of users connected and will be able exchange messages. Users will also be able to send messages intended for multiple ...
2
votes
3answers
2k views

Can tail slow down log writing speed on Linux (ext3)?

I'm wondering if tailf can generate blocking I/O which will slow down server responsiveness due to logging. For ex. assuming the following setup: Debian 5.1 linux server (foo) which is managed via ...
1
vote
1answer
677 views

Apache Start Servers, Min/Max Spare Servers Ram Consumption Influence

I have a 1gb ram VPS. If I stop apache I have 400 mb ram free. So the max clients should be (total ram - used ram) / max_service_ram_consumption = 400 / 31. So MaxClients should be 13. These are the ...
0
votes
1answer
156 views

How can i speed up an XWiki installation on debian?

We installed XWiki on Debian. Page load times in default config were about 2 seconds. Tuning the memory parameters according to the XWiki performanve guide brought it down to 1 second. But for a local ...
0
votes
1answer
58 views

Negative effects of setting nginx workers too high

I've seen numerous posts advising how to set nginx's worker_processes, but very few detailing what happens when this is set too high. I'm about to run some benchmarks, but I'd appreciate advice on ...
2
votes
2answers
130 views

Running “find” command generates high load

I run this command on a Debian server with SSD drives configured as RAID 1: ionice -c 3 find . -type f -amin -1440 -mmin +1441 -not -path custom/ -print0 on a path which contains over 1.7M files and ...
1
vote
3answers
426 views

Server problems, running out of RAM, really high load average

I desperately need help in figuring out how to troubleshoot this problem I'm having. I run a fairly mission critical web server (Debian 7.5, 512MB RAM, 512MB swap, Apache, MySQL). It runs a couple ...
0
votes
2answers
115 views

How to tune a web server and prep it for lots simultaneous visitors?

I have another related question but I'm deviating from it since I'm changing my server to use nginx instead of Apache. Related: Server problems, running out of RAM, really high load average I'm ...
4
votes
3answers
6k views

Understanding RedHat's recommended tuned profiles

We are going to roll out tuned (and numad) on ~1000 servers, the majority of them being VMware servers either on NetApp or 3Par storage. According to RedHats documentation we should choose the ...