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

learn more… | top users | synonyms

3
votes
1answer
1k 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
120 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
119 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
171 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
2k 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
158 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
855 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
181 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
63 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
147 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
565 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
128 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 ...
0
votes
1answer
44 views

TOP processes by system time

I have a system running 2 processes - MySQL and Java I'm seeing 20-30% of the time spent in %system. I've looked around to try and find a way to identify which what the balance of the system time is ...
3
votes
2answers
3k 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 ...
3
votes
2answers
4k views

Low latency TCP settings on Ubuntu

There is a server for measurements running on Ubuntu in my lab . And there is C program, which receives data through TCP connection and should as soon as possible send a reply. Network latency when ...
0
votes
0answers
276 views

Tunning nginx/php5-fpm : why low memory usage with 800 users?

I did optimize nginx with what I found on the internet My specs are 2 servers load balanced : Intel Xeon E5-1620v2 (4c/8t 3,7 GHz+/3,9 GHz+) 32 Go DDR3 ECC 1600MHz 3x 160Go SSD Intel DC S3500 SATA3 ...
-2
votes
2answers
379 views

Centos Server Recently slowed down significantly

I have Dedicated Server on 1and1 with RAM - 16 GB HD 1000GB CPU: Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz, 4 cores Centos 6 Apache/2.2.15 PHP 5.3.3 Mysql I have a video sharing website (on ...
0
votes
2answers
187 views

MySQL performance problems on particular vhosts

I have a dedicated server setup (8 cores, 16 GB of RAM), running Ubuntu 12.04 LTS with latest updates, and I am experiencing some performance problems related to MySQL. I have multiple vhosts active. ...
0
votes
1answer
43 views

How to alleviate high disk reads on server?

We are currently hosting a 3TB library of image galleries on our web server, all searchable by users. With about 400 active users at a certain time on the website, our disk reads are pushing 100% I/O ...
2
votes
1answer
4k 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 ...
3
votes
1answer
799 views

How to remove the pause during JBoss 5.1.0 GA boot between ProfileServiceBootstrap and AnnotationCreator?

I've managed to strip down my JBoss profile enough that it boots in 1.5 minutes. I started with the web profile and started pulling out stuff I didn't need. The bulk of my boot time can be seen here: ...
2
votes
1answer
71 views

What is the correct way to track and monitor Exchange DB replication “pressure” over time?

I want to determine if some databases are overloaded or unbalanced, and think that looking at the transaction logs created per database over time would tell me which DB is at risk of missing RPO ...
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 ...
0
votes
2answers
947 views

Linux : SSD performance tweaking queue

I've allready applied well known mountpoint options for ssd, enabled stuff in LVM for ssd optimisation as well. Now i've ran into a possible challenge. Would it be possible to gather information on ...
2
votes
1answer
289 views

Execute ps1 script when CPU threshold is meet

I'm looking for a function similar to Debug Diagnostics Collector. Where you can setup a performance (or any counter) trigger (eg. above 50% CPU over 50 seconds). Once condition of a trigger are ...
1
vote
1answer
218 views

4096 and 8192 block size read slower than write? by using lsi 9361-8i RAID10

is it possible that 1024 and 2048 block size read speed is faster than 4096 and 8192 block? I'm using lsi 9361-8i with RAID 10 , with 8 x Kingston E50 250G. result: 1024 = Write: 2,251 MB/s ...
1
vote
0answers
68 views

IRQ not handled by all CPUs

I have a problem about balancing irq. I took irq numbers from /etc/interrupts and assigned each irq to each of 24 CPUs as this tutorial says for i in {143..166};do cat /proc/irq/${i}/smp_affinity; ...
0
votes
1answer
876 views

performance monitor in iis 7 to monitor which website is using most resources (asp.net)

I am using Windows Server 2008 R2 and IIS 7.5, and am hosting multiple websites on the same webserver. Is it possible to use Performance Monitor to know on average which website is using the most ...
2
votes
0answers
241 views

famd/gamin timeout issue with courier-imap

I'm running a mail server for about 200 users with courier-imap on Debian 7. This server is running a linux kernel 2.6.38 inside a Xen guest having 2 cpu cores and 2 GB RAM. The server accept ...
1
vote
1answer
445 views

how to disable all caches types in mysql server in order to do performance testing for my queries

I'm using Mysql Server 5.6.15 and i have a huge database with many complex queries. it seems that when I run the query the first time it takes X amount of time. when I execute it again it takes ...
0
votes
0answers
115 views

What's the bottle neck of server hit 100K request?

The following are two graph of my digital ocean vps instance handle load test request. 10K/s, The only different is the request file size, first is 10K, the second is 20K. Can any one point out the ...
0
votes
1answer
299 views

PHP Settings [pm.max_children, pm.start_servers, pm.min_spare_servers and pm.max_spare_servers]

In the midst of transferring a website from a GoDaddy shared server to an EC2 instance. Handling the traffic, which during peak times on a typical day is around 300 active visitors, has been ...
2
votes
1answer
75 views

Server load avg. hitting 16-20, but all resources under 90% usage?

As you can see in the image shared below, the server load peaked to almost 20 but the CPU, RAM, DISK IO and Network I/O remained well under their full capacity. My question is: 1). What caused the ...
1
vote
1answer
4k views

How do I increase UDP Recv-Q

I have a gigabit connection that is not fully utilized but I am getting packet receiving loss. When I do netstat, it shows the Recv-Q sometimes maxes out at 262656 during heavy traffic. Proto Recv-Q ...
0
votes
0answers
147 views

tuning apache for low ram low traffic server

I have a low end VPS server with 512megs of ram to host downloads of files (~10-25megs each). what is a good configuration for the following parameters in apache. I expect no more than 10 human users ...
0
votes
1answer
769 views

rmem_max more than rmem_default

I just installed centos 6.3 freshly and noticed the following: [root@localhost user1]# cat /etc/redhat-release CentOS release 6.3 (Final) [root@localhost user1]# [root@localhost user1]# cat ...
0
votes
0answers
233 views

OpenSSL performance oddity

I've seen something odd regarding OpenSSL performance. This is the output of 'openssl speed aes-128-cbc' on a physical HP Bl460c Gen8 with dual E5-2680's running RHEL/OEL 6.4x64 and OpenSSL ...
0
votes
0answers
62 views

Ubuntu backup script kills performance

I run a nightly backup, which takes about 1 hour. During that the performance is bad as hell. It looks pretty much like this: # DB dump ionice -c 3 nice -n 20 mysqldump --skip-lock-tables --user=foo ...
16
votes
7answers
29k views

yslow says etags are misconfigured. how to configure etags properly on IIS7?

running ySlow on a website I support, I noticed it reported that the etags are misconfigured for the site images (e.g. *.jpg, *.png, *.gif). Can anyone help explain what I have to do to get IIS7 ...
-2
votes
4answers
24k 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 ...
0
votes
4answers
2k views

How to check for bottlenecks in Windows Server 2008 R2

I recently switched out a 10 year old server for a brand new server in a small office and upgraded from Windows Server 2000 to Windows Server 2008 R2. After the switch was complete and some ...
3
votes
1answer
436 views

How to identify which MySQL queries take a lot of time?

My MySQL server is consuming a lot of memory. Memory footprint 1. Memory consumption in descending order (top 4) MySQL's memory consumption in particular - Why is there so many number of mysqld ...
1
vote
1answer
367 views

KVM Slow performance on XP Guest

The system is very slow to do anything, even browse a local folder, and CPU sits at 100% frequently. Guest is XP 32 bit. Host is Scientific Linux 6.2, Libvirt 0.10, Guest XP OS shows ACPI ...
2
votes
1answer
12k views

Improving OpenVPN Performance

I've been trying to improve my OpenVPN performance and this is my current setup: cat /etc/openvpn/server.conf port 443 #- port proto tcp #- protocol dev tun #tun-mtu 1500 tun-mtu-extra 32 #mssfix ...
1
vote
2answers
46 views

How to exclude requests from unwanted sources

Scenario: Client buys our analytics services and includes our analytics SDK in his mobile app. Users who download the app will start sending us lots of data. When the client stops paying for our ...
6
votes
2answers
3k views

what does locked % in mongostat mean?

When running mongostat to look at our mongo database, I'll frequently see the locked % number jump up, sometimes as high as 80%. Here's a few example rows: insert query update delete getmore ...
0
votes
2answers
922 views

MySQL Memory usage

Our MySQL server seems to be using a lot of memory. I've tried looking for slow queries and queries with no index and have halved the peak CPU usage and Apache memory usage but the MySQL memory stays ...