Questions tagged [performance-tuning]
Performance tuning is the process of modifying a system to improve its efficiency. This is also known as optimizing.
413
questions
7
votes
2
answers
3k
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 ...
3
votes
1
answer
5k
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
1
answer
986
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 ...
3
votes
2
answers
3k
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 ...
0
votes
2
answers
375
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
2
answers
3k
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 ...
1
vote
3
answers
2k
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 ...
1
vote
1
answer
992
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 ...
5
votes
1
answer
4k
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 ...
4
votes
1
answer
4k
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 ...
11
votes
1
answer
11k
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? ...
0
votes
1
answer
87
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 ...
14
votes
2
answers
40k
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.
Configuration
CPUs: 2 ...
0
votes
0
answers
1k
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
2
answers
4k
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
2
answers
2k
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 joomla) ...
0
votes
2
answers
553
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
1
answer
54
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
1
answer
152
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
0
answers
146
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 ...
2
votes
1
answer
2k
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
1
answer
502
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 Read:...
3
votes
4
answers
19k
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
0
answers
127
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; ...
2
votes
0
answers
1k
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 ...
2
votes
1
answer
5k
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
0
answers
188
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
1
answer
1k
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
1
answer
217
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 ...
0
votes
2
answers
5k
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 ...
0
votes
0
answers
1k
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
0
answers
511
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 1.0.0-...
0
votes
1
answer
2k
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 /proc/...
0
votes
0
answers
108
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 ...
3
votes
1
answer
2k
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
1
answer
2k
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 ...
1
vote
1
answer
965
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 ...
13
votes
4
answers
84k
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
2
answers
161
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
3
answers
392
views
ZFS Equivalent of lvdisplay snap_percent
I've been using LVM snapshots for backing up MySQL databases.
FLUSH TABLES WITH READ LOCK is issued and then lvcreate --snapshot --size 4G etc. Since the database is live while the snapshot is active ...
0
votes
1
answer
794
views
PCIe SSD vs SSD vs SAS - which is best for Database?
Since I am going on shipping soon I wonder which generally will mostly boost the database performance ?
The bridge question is - which will boost mostly a database which having a lot of random block ...
0
votes
2
answers
218
views
Centos 6.4 Installed in System X3750 M4 IBM Server [duplicate]
We have installed Centos 6.4 in System X3750 M4 IBM Server. But the server is not showing the performance of at-least a normal Desktop Configuration. We haven't done any performance tuning in the ...
0
votes
1
answer
389
views
MySQL settings for MAXIMUM performance / can be specific to particular DB or user? [closed]
We have a dedicated server, a very powerful one, and I don't believe we are getting the most out of MySQL. Even when running ultra-heavy processes that take a very long time to complete, I'm showing ...
0
votes
1
answer
41
views
One Slower/Larger VS Two Faster/Smaller RAM [closed]
Generally speaking, performance-wise, which one is the best (putting brands aside)?
1x 8GB 1333MHz RAM
or
2x 4GB 2400MHz RAM
Both DDR3.
-1
votes
1
answer
451
views
Server optimization for long running script [duplicate]
I have a system running on a remote VPS whose main feature is a long running script (it could run for about 10 hours, depending on the user input).
The following are some of its features:
Database ...
1
vote
0
answers
3k
views
How to avoid Memory "Hard Fault/sec"
i've a problem on my windows 2008 server x64, and i cannot understand how can i solve it.
i'm looking to Resource Monitor and see about 100 to 200 hard faults/sec. and generally the machine is slow. ...
8
votes
3
answers
19k
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
2
answers
3k
views
LAMP -> CPU usage of Apache processes too high
I have a LAMP system with CentOS 6.4, Apache 2.2.15, MySQL 5.5.32 and PHP 5.3.26 with APC 3.1.10 using a Drupal CMS (https) on a virtual machine with 4 CPUs and 6 GB RAM.
My problem is the CPU usage ...
0
votes
1
answer
422
views
How do I go about finding the bottleneck in a slow web based chat application
I am working on a one-to-one chat application running in production. It uses StropheJS to connect to Ejabberd server over BOSH (using ejabberd's default connection manager). The main problem we are ...
-1
votes
1
answer
219
views
IIS - Overuse of memory is normal? [closed]
I have two servers running Asp.net applications. Sometimes applications are too slow and memory usage seems exaggerated.
Specifications:
SERVER #1
OS: Microsoft Windows 2003 R2
Memory: 4GB
...