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
1
vote
1
answer
256
views
Nginx performance issues with single user reqesting but with large configuration file
I have following configuration used in server block and as the number of locations grew, the performance has degraded substantially even if there is only one request (e.g. https://example.com/loc1/...
8
votes
2
answers
1k
views
what is the IOPS behavior when partitions of single disk are used in an LVM?
I have an ubuntu 14.04.1 LTS server which have LVM(backed by hardware RAID5) with logical volume and a volume group named "dbstore-lv" and "dbstore-vg" which have sdb1 sdb2 sdb3 created from same sdb ...
4
votes
1
answer
5k
views
php memory_limit vs kubernetes resource memory limit
I'm new to Kubernetes and I'm trying to figure out what resource limits I should set for my php webapp.
My first guess is that if I have configured php fpm to use a maximum of 256M of memory then ...
1
vote
0
answers
149
views
Performance on Pinned CPU cores versus automatically managed?
I have a XenServer 7.5 environment where I'm running a single Windows VM with 16 total vCPU's. My server has dual Xeon E5-2620v4 CPU's with 8cores/16threads each clocked at 2.1GHz nominal and a Max ...
-6
votes
1
answer
114
views
How do I tune a single-threaded server to be amazingly fast? [closed]
We have a license manager server that runs on a single host. It accepts TCP connections, performs some sort of exchange (I haven’t reverse-engineered it), and keeps the TCP connection open for the ...
0
votes
1
answer
4k
views
Recommended Apache tuning configuration [duplicate]
My web server has configuration 16 GB RAM 8vCPU (Hexcore). Apache version 2.4.
There will be massive site visit. So what will be the best and recommended Apache tuning configuration ? I am using ...
0
votes
1
answer
2k
views
Slow apache response time for json api (solved)
I've got an Apache server hosting several json APIs.
This server is running Ubuntu 16.04.4 LTS with Apache and Mysql.
Response times for all API are very good except for one! It takes about 5s to ...
2
votes
2
answers
846
views
Dual-port RDMA Throughput Issue
I have two nodes connected with dual-port Mellanox Connext-X3 VPI HCAs via an IB switch. The nodes are two socket machines with Hasswell CPUs and 2 16GB DIMMs per each socket (totaling 64GB). ...
0
votes
1
answer
3k
views
Apache handshaking slow on prefork configuration, need config tuning
My server, running Ubuntu 14/Apache2.4.7, has an htaccess redirect to force all requests to use HTTPS. Generally, it responds quickly. However, I recently altered my SSL config to restrict the ciphers ...
2
votes
2
answers
1k
views
DRBD weird speed dips
couple of weeks ago I made a test setup for DRBD on couple of servers. The speed was fixed 90MB/800Mb as per my config for initial sync. Now I have reinstalled the OS (CentOS 7.4) to do final install ...
5
votes
1
answer
821
views
Misunderstanding about Page Cache and dirty_background_bytes
I've been looking at this for a while now and things aren't lining up with my expectations, but I don't know if it's because something is off, or if my expectations are wrong.
So, I've got a system ...
1
vote
0
answers
4k
views
best configuration for 5k requests per second apache [duplicate]
I have a webserver which has 5k requests per second
this overloads my server with the cpu usage
host has 12 CPU and 8GB ram [ almost not in use ]
my httpd-mpm configuration is below :
<IfModule ...
6
votes
2
answers
12k
views
Hyper-V Windows Server 2016 VM is super slow
I have a Hyper-V VM, both host and VM are running Windows Server 2016. The VM has Exchange 2016 installed and takes an hour to start up fully (all Exchange services). It is actually very solid when up ...
4
votes
1
answer
6k
views
nfs server getting many rpc-srv/tcp: nfsd: sent only 700260 when sending 1048708 bytes - shutting down socket
System is running CentOS 7.3, serving files over both ethernet and infiniband, but the vast majority of traffic is over infiniband
I just stood up a new file server that is now generating large ...
2
votes
2
answers
1k
views
Two identical systems with very different performance
I have two Dell R730 systems which have an identical hardware configuration purchased at the same time. Both are running RHEL6.9 where were imaged from the same image. It was imaged in January. I ...
1
vote
0
answers
1k
views
Apache uses 100% CPU but only part of RAM on heavy load
I am running a Website that gets heavy usage at a particular time. I run apache 2.4 on an EC2 Ubuntu 16.04 server with 4 Core CPU and 16GB of RAM and 2GB Swap. Size of the average apache process is ...
1
vote
1
answer
408
views
Diagnosing slow/timing-out web application
I'm seeing average load times of load average: 12.41, 11.94, 11.59 on a linux-based machine serving a web application. It has 16 cores, so the load average isn't unmanageably high.
However, this web ...
1
vote
1
answer
7k
views
MariaDB taking up 100-200% CPU
Server Specs
RAM CPU STORAGE
80 GB 20 Cores 1536 GB SSD
TRANSFER NETWORK IN NETWORK OUT
20 TB 40 Gbps 8000 Mbps
This is the results from show status:
...
0
votes
2
answers
5k
views
How much interrupts is too much?
On an AWS instance x1.32xlarge (128 cores), we are getting a lot of interrupts per seconds.
Here are the top CPUs in interrupts/s:
Interrupts Top CPUs
CPU0: 140838.0
CPU1: 77867.0
CPU4: 66495.0
CPU6:...
0
votes
1
answer
961
views
Very high load average results in server lag
We have a CentOS 6.9 server, with 4 core CPU and 32GB RAM.
Everyday at around the same time the load average gradually changes from 0.0 upto 11 when we finally have to restart the server.
CPU: ...
0
votes
0
answers
147
views
Cannot get performance improvement with Haproxy
I have 4 web servers with a ruby web server running, and a server running haproxy.
I can get a RPS(request per second) of 300 against one web server using ab.
But I can only get a RPS of 340 against ...
0
votes
1
answer
341
views
Backuppc performance dropped dramatically
I've got a tiny server in my house which I use for file server and hosting test web sites for my clients, among other things. It uses backuppc for backups. The machine is a MSI Cubi N, backing up to a ...
0
votes
1
answer
113
views
What constant throughput and linear respone time tells about the system?
What does it mean when throughput in the system is constant and only response time changes (linearly)?
Does it mean that I have to have a bottleneck?
0
votes
1
answer
2k
views
How to create a non-caching fast nginx reverse-proxy?
Nginx should be fast - at least people say so.
I can't get nginx fast. For benchmarking, i use siege in multiple configurations for simulating high loads. So i tried to load-balance a single server (...
2
votes
1
answer
1k
views
Slow SSD performance - IBM X3650 M4 (7915)
I set up a test environment for development purposes. It consists of a IBM X3650 M4 (7915) server with:
2 x Intel Xeon E2690 @ 2.90GHz
96GB 1333MHz ECC RAM
2 x HDD 146GB 15k rpm
6 x SSD 525GB (...
2
votes
1
answer
10k
views
How increase write speed of raid1 mdadm?
CentOS, Xeon 1230, 16 Gb RAM, 2x1TB SSD in raid1 (mdadm).
Read from raid1 vary from 130 to 250 MB/s depends of files etc.
But write speed very slow: 15-20 MB/s (iotop, mc etc.)! You know the real ...
1
vote
2
answers
197
views
What performance statistics can I use to determine if hyperthreading will improve performance?
There are several questions asking if disabling hyperthreading will improve performance (e.g. like this). The answer (as it is to all performance questions) is of course "profile it on your workload"....
1
vote
0
answers
1k
views
Low NIC throughtput under Hyper-V
I have a Xeon-based Dell T20 with Quad Intel I350 running Windows Server 2016 Hyper-V with OpenSUSE as Gen2 VM. Both Windows Server and OpenSUSE have dedicated ports on I350, no sharing. SR-IOV is ...
2
votes
2
answers
235
views
Tuning an email backup dataset on ZFS
I have a folder full of email back-up files (from offlineimap). One such folder has 87k files, of which 68k are between 512-1024 bytes in size. (This one folder is pretty representative of the rest.) ...
0
votes
0
answers
832
views
MySql High CPU Low memory utilization
I am facing an issue with MySQL server. I am not a primary DB admin, so i might need some assistance in tuning DB.
The CPU Utilization shoots up way beyond expectations. It just hovers around 70-90% ...
0
votes
1
answer
129
views
Two identical servers. One with extremely poor performance
I have these two servers with the following specs:
OS: RHEL 6.3 Hardware: Dell PowerEdge R610, 12 cores, 64GB RAM Drives: 6 x Samsung 840 Pro SSD RAID controller: Intel RS25AB080, 1GB Cache RAID ...
1
vote
0
answers
161
views
Tuning a LAMP server
I'm trying to load test a LAMP application that my team developed and deployed on AWS ubuntu 14.04 using jmeter. We are using AWS CDN to serve static files, mysql and apache are on the same host.
...
0
votes
1
answer
686
views
Why is Haproxy hitting (variable) connection limits?
I'm trying to understand some numbers I'm seeing as well as why Haproxy seems to be hitting variable limits on requests/s.
The test set up is pretty straightforward:
20 backend servers running on ...
1
vote
1
answer
2k
views
How to tune apache with mpm_event
regarding apache tuning, there are lots of good documents and posts on the web
eg. How To Tune Apache on Ubuntu 14.04 Server
unfortunately almost all of them describe how to tune apache with ...
3
votes
2
answers
3k
views
Stand alone single thread optimized server vs vm running on VMWare
I apologize for the length of my post.
We recently converted our business system to a product that is licensed by the number of Cores.
We purchased the 2 core license and are currently running it on ...
1
vote
0
answers
392
views
How are cluster size, buffer size and packet size related for performance?
I'm creating a server on an embedded system. I have a FAT filesystem on an SD card which contains a file, which should be sent via HTTP to some client over wifi that connects to the system.
At first ...
-1
votes
2
answers
179
views
libvirt: guest performance during backup
Here is a simplified version of my backup script that runs in the host:
# shutdown the guest to ensure its filesystem is in a stable state
virsh shutdown web --mode=acpi
sleep 20s # the real script ...
1
vote
1
answer
3k
views
Zabbix : How to acheive 1s interval with active items?
Is it even possible/recommended ?
We are trying to set up few active items configured with a 1 second interval. However those items don't keep up the desired interval, instead we are gathering a ...
0
votes
1
answer
332
views
Hunting for performance-reducing issues on a high-usage server
I host a server through the Google Compute Engine for various purposes, most notably a Minecraft server, and it receives a lot of traffic and usage. We're talking fairly constant CPU usage at 150%, 50 ...
1
vote
0
answers
323
views
Optimize Apache serving as backend behind Nginx
Apache (2.4.x) is a well known server and performance optimization is widely discussed and well documented.
Nevertheless, for those cases where Apache is reverse proxied (behind Nginx or other any ...
0
votes
0
answers
44
views
Which IO read/write characteristic is more important for Virtual machine type 2: 4K or sequential [closed]
IO devices often specify their characteristics in terms of:
sequential read/write;
4K read/write;
Which characteristic is more important for performance of Virtual machine type 2 (like VirtualBox ...
-1
votes
1
answer
2k
views
How to tune Nginx + MySQL + PHP-FPM bottleneck to resolve high server load?
My server, Ubuntu 14.04.4 LTS, is running at high load, currently running a single site with Nginx + Wordpress + W3 Total Cache + Memcached.
I'm not sure if mysql is causing the workload issue.
Here ...
1
vote
1
answer
1k
views
What does the following C-State output mean?
# cat /proc/acpi/processor/CPU0/power
active state: C0
max_cstate: C8
maximum allowed latency: 2000000000 usec
states:
C1: type[C1] promotion[--] demotion[-...
0
votes
1
answer
527
views
How to find out the response time for C-state to change to higher mode
How much time does the CPU wait to go to higher mode, let's say from C0 to C1?
Or if it can be customized, where can I find the current value?
Also, does the the C-State changes in stages like first ...
0
votes
0
answers
2k
views
Task Manager shows high kernel time
Foreward:
Hardware: dual-socket Intel Xeon, 128gb memory, hardware RAID-1 SSD
OS: Windows 2012 R2 Standard w/ Remote Desktop Services
The Task Manager for one of our terminal/application servers ...
2
votes
1
answer
2k
views
TCP retransmission delays - lost acks
Maybe somebody will be able to help me out with this. I'm trying to find out if there is anything that can be optimized server-side to reduce delays in case of packet loss.
Environment: Windows 2012 ...
0
votes
0
answers
111
views
Why are httpd processes spending increasing amounts of time in logging state?
I'm running an Apache 2.2 web server.
When stress testing I notice that I cannot increase load beyond a certain number of simultaneous connections.
The strange thing is that I do not seem to have ...
0
votes
1
answer
490
views
JBOSS AS 7 monitoring Paramaters
We are using JBOSS AS 7 in standalone mode to run our web application.
Our user base is around 1000 users and we have 4 instances of a JBOSS running on 4 RHEL6 machines behind a load balancer. ...
3
votes
2
answers
1k
views
Optimizing storage of 10-20 million files on RAID5 (currently using LVM+XFS)
Although I've browsed some of the questions here, I think every situation is different and maybe requires a totally different solution.
What I have now:
Linux software RAID5 on 4x4TB enterprise HDD
...
-3
votes
1
answer
80
views
Analyzing server performance [duplicate]
We have recently finished work on one ecommerce site which is built on opencart 2.x and site has around 1k products. The site is currently running on VPS server.
For some days we are facing some ...