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
0answers
36 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
31 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 ...
-1
votes
0answers
24 views

Do i need reindex mysql table after bulk delete? [migrated]

I have a table in mysql with a lot of INSERT and SELECT at every second. And there is a bulk delete of some older data once in a day. Do I need to reindex the table after delete? I want to increase ...
0
votes
0answers
26 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 ...
0
votes
1answer
967 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 ...
2
votes
3answers
1k 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
59 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
36 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
35 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
76 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
137 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
66 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 ...
0
votes
1answer
49 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 ...
4
votes
3answers
3k 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 ...
1
vote
3answers
1k views

What program can I use to benchmark network traffic? [duplicate]

Possible Duplicate: How to test real network throughput between two points? Given two computers connected by some network interface, is there a standard tool used by an academics publishing ...
0
votes
0answers
193 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
0answers
116 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 ...
0
votes
1answer
35 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 ...
1
vote
1answer
149 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
2answers
1k 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
0answers
37 views

Solr Query thread limit

While performing stress tests of our website, it looks like Solr could be bottleneck. It has enough ram, CPU usage is far from 100%, but we still facing problems of waiting for solr response for even ...
2
votes
2answers
684 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
103 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 ...
1
vote
1answer
388 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 ...
-2
votes
2answers
87 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
97 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
39 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 ...
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 ...
0
votes
0answers
87 views

Nginx+Tornado performance tuning?

I have written a Tornado based Server that makes readouts from files on disk available via http. The size of the readouts I am serving is either about 10kb or about 1MB. I have a server machine with ...
3
votes
1answer
708 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
41 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
0answers
35 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 ...
1
vote
5answers
1k 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
467 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
105 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
133 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 ...
0
votes
0answers
87 views

The `iostat` Command Describes a Non-Existent Block Device

The System An instance running on Amazon EC2 It is an m1.large EC2 instance The instance is running Ubuntu Server 12.04 LTS Here's What Happens... I wanted to measure disk IOPS on my system, and ...
1
vote
2answers
693 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 ...
1
vote
0answers
53 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
232 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 ...
0
votes
0answers
176 views

Lots of packets pruned from receive queue because of socket buffer overrun - reason to worry?

I know this question has been asked before, but maybe not in this particular context: I have a setup with a couple of MS2008R2 HyperVisor servers running a number of Ubuntu guests. Our webproxy runs ...
1
vote
0answers
136 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 ...
0
votes
1answer
76 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
97 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
213 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
56 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
3k 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
91 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 ...
91
votes
4answers
124k views

FreeBSD performance tuning. Sysctls, 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 ...
0
votes
1answer
412 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 ...