Questions tagged [performance-tuning]

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

Filter by
Sorted by
Tagged with
6 votes
2 answers
337 views
+50

Ansible performance issues on a huge group

So, I have this host group, which consist of 35k VMs. Aaaand I need to run a playbook over it. If it does matter - playbook is just a call for community role for installing node_exporter. But I'm ...
Anatolii Tk's user avatar
0 votes
1 answer
83 views

How to find optimum configuration in php.ini on openlitespeed?

I want to increase performance on pagespeed insights, but the problem is I don't know how to use all capacity of hardware on this server ! and I need your help please. I think litespeed not using all ...
Alireza Mirhabibi - IRAN's user avatar
0 votes
0 answers
151 views

Performance for static files (HTML, CSS and JS) of PHP Server - CDN vs NGINX

Without going too much into detail to avoid that this question becomes opinion-based; so talking from a purely technical perspective: When you currently have a PHP-Apache setup, both PHP and Apache ...
DevelJoe's user avatar
  • 187
2 votes
2 answers
339 views

Does the ZFS scrub support parallelization for increased performance, e.g., with a 64-core AMD Threadripper Pro?

I have a 24 drive zpool comprised of 3 RAIDZ1 vdevs running 8 Seagate Exos X18 16TB drives per vdev. This is on a Supermicro MB with a 64-Core (128 thread) AMD Threadripper Pro and 256GB ECC RAM. ...
docBrian's user avatar
2 votes
3 answers
2k views

Disadvantages of using ZFS recordsize 16k instead of 128k

I'm using Proxmox on a dedicated server. For production I'm still using ext4, but I decided to start messing around with ZFS. So I have created two separate ZFS storage pools with diffrent recordsizes:...
Kamil's user avatar
  • 157
13 votes
3 answers
5k views

How dangerous might it be - and what performance gains may be had - by turning vulnerability mitigations off on non-Internet facing servers?

When a virtual machine Linux host server is non-Internet facing and is used exclusively on a LAN and is using a relatively well tested distribution like Proxmox, how dangerous would it be to turn off ...
ylluminate's user avatar
  • 1,197
0 votes
0 answers
181 views

Are there any big performance boost when upgrade from Ubuntu 16.04 to 22.04?

If I run the server as MySQL database. (Assume using the same MySQL version). Are there any big performance boost when upgrade from Ubuntu 16.04 to 22.04?
Ryan's user avatar
  • 5,981
0 votes
1 answer
149 views

Is it necessary to ban malicious IP regardless of default firewall setting being deny/reject?

I'm on Linux and using fail2ban as the ban system. So far, it has collected and banned about 150K of malicious IPs, and I'm concerned and wondering if this will gobble a fair amount of resources. As I ...
BigRat's user avatar
  • 1
1 vote
1 answer
808 views

How to use SMB Multichannel over VPN?

According to this article SMB Multichannel can provide the following capability: Increased Throughput - The file server can simultaneously transmit additional data by using multiple connections for ...
Appleoddity's user avatar
  • 3,783
0 votes
0 answers
363 views

How to minimize filesystem overhead

I have an application that uses a lot of space as essentially cache data. The more cache available the better the application performs. We're talking hundreds to thousands of TB. The application can ...
David Cowden's user avatar
3 votes
2 answers
2k views

Tune Linux & Nignx to handle 10k Connections @10Gbps Server

I just got a new 10Gbps server with 8 CPU Cores, 64GB RAM and 1TB NVMe OS Centos 7.9 kernel 3.10.0-1160.36.2.el7.x86_64 also tried kernel-ml 5.13 SELinux is disabled. firewalld and irqbalance stopped ...
JonS's user avatar
  • 31
3 votes
0 answers
5k views

Tuning Linux router and server for better performance / solving single TCP connection slow speed

I have a simplest/common network architecture. Web server sits behind router on local network. This router does iptables DNAT so port forwarding is achieved to web server. Therefore, I'm able to ...
laimison's user avatar
  • 619
2 votes
1 answer
316 views

Postgresql performance seems capped, cannot work out why

I'm setting up a new PG13 cluster, on ubuntu 20.04, virtual machine. The performance I'm seeing, via pgbench, is neither good nor bad. What I'm trying to work out is why it is what it is, and not ...
Nik's user avatar
  • 228
1 vote
1 answer
1k views

Samba and luks encrypted disk together: Huge performance loss despite plenty of CPU resources, LUKS and samba alone works as expected

Setup: SSD encrypted with luks aes-xts 512 bits (256 bits AES key), ext4 filesystem dd write performance of 138 MB/s, CPU usage 97-100 % dd if=/dev/zero of=testfile status=progress bs=32M count=128 ...
Hannes's user avatar
  • 327
2 votes
1 answer
928 views

Reducing idle CPU usage of Windows Server 2019 Datacenter Core VM

I'm moving a few installations to Windows Server Datacenter Core 2019 running in KVM VMs on Linux hosts. My first Windows VM has, when it's idle, a bit more than 32000 VM exits per second, half of ...
Simon Richter's user avatar
1 vote
1 answer
2k views

Why do most ulimit recommendations call for setting file descriptor limits to 65535?

In searching for max file descriptor ulimit tuning recommendations, many sites recommend setting a file descriptor size of 65535. In some cases, its 100000, 120000, and even higher. Some of these ...
alkalinecoffee's user avatar
0 votes
0 answers
77 views

How To Change /Lib Directory

Production server / is only 50GB and it's full. 23GB is in /lib | /snapd 11GB /flatpak 7GB I see the snap store is installing snaps to /var/lib/snapd | I have a second drive /dev/sdb that has 500GB of ...
mister mcdoogle's user avatar
0 votes
0 answers
45 views

How To Increase Postifx Output Volume

All, I have a new Postfix server that we use to send subscription emails out to customers and send around 200k emails a day. The server is working well, but the queue gets backed up fairly quickly ...
Grant Griffith's user avatar
0 votes
1 answer
448 views

Does MaxClients determine the number of active users in a site

Keeping all factors constant , assuming my apache server is configured as below , in event mpm <IfModule mpm_prefork_module> StartServers 2 MinSpareServers 2 MaxSpareServers 5 MaxClients 200 # ...
salimsaid's user avatar
  • 101
0 votes
0 answers
1k views

Apache2 can't handle 200 concurrent requests with 8GB Ram and 4 core cpu

I am load testing a worpress site with loader.io , i am sending 100 concurrent requests per second, running the test in exactly 1 minute. The test fails considerably after 20 seconds or so, nothing ...
salimsaid's user avatar
  • 101
1 vote
0 answers
2k views

Very slow read/write on software raid1 with nvme device on Ubuntu focal

I have a server with Ubuntu 20.04.1 LTS with NVME ssd devices running on raid1 and the hard drive operates so slow! to open a gzip file to of 500MB to a 3.7GB takes a while.. way more then it should. ...
ufk's user avatar
  • 333
2 votes
2 answers
4k views

How to find out the mySQL query which uses most of the CPU using performance_sc

52893 TID is using 100% CPU in my server How to find the query corresponds to that TID? For me, this table is empty
Sachin Aravind's user avatar
0 votes
1 answer
5k views

How to do performance tuning of Apache server?

We have an apache server 2.4.X which we are using as a reverse proxy in front of one Java Application . We have enabled Apache status module Apache Status and we are able to see that number of idle ...
Deepak's user avatar
  • 103
2 votes
1 answer
158 views

Shingled magnetic recording(SMR) device managed - sequential write performance optimizations

recently (2020-05) many HDD producers were caught silently replacing CMR lines with SMR disks, which brought more exposure to the whole concept. It seems that most device-managed SMR disks first ...
Dr Phil's user avatar
  • 129
1 vote
0 answers
448 views

CPU C-states disabling ruins network performance

With intel_idle.max_cstate=1: root@debian:~# curl -o /dev/null http://xx.xx.38.35:999/speedtest/1000mb % Total % Received % Xferd Average Speed Time Time Time Current ...
edo1's user avatar
  • 141
0 votes
0 answers
100 views

What can be a reason for different clock speeds between sockets on 2 x Xeon Scalable 6148?

I have server with dual Xeon Scalable 6148 CPUs running HPC application. Base clock: 2.4GHz All core Turbo: 3.1 GHz Some processing threads are not scaling well and are sensitive to cpu clock. I ...
terion's user avatar
  • 1
1 vote
0 answers
2k views

How to improve performance of Nginx for high PHP processing load?

I wonder how I could improve the performance of my server? It is configured with Ubuntu 18.04 (LTS), 4 GB RAM, 100 GB SSD, 2 CPU, with Nginx 1.14.0 and PHP 7.2-fpm to handle running and serving a site ...
C.A. Vuyk's user avatar
  • 632
0 votes
1 answer
1k views

How to determine HugePages count?

I have a number of servers that we use as KVM hypervisor nodes. We want to enable hugepages and leverage this features for performance related matters. I have looked online on how to enable hugepages,...
Javier Diaz Charles's user avatar
0 votes
1 answer
119 views

product import is broke behind cloudflare

Im having trouble to resolve my database errors and how to optimize it. Coz of the slowness of my server (mostly querries i believe), my imports turns with a cloudflare error code. (Cloudflare blocks ...
execash's user avatar
2 votes
0 answers
139 views

Index rollover latency

I have created an ILM policy as follows, { "policy": { "phases": { "hot": { "min_age": "0ms", "actions": { "rollover": { "max_docs": 30 }, ...
arif's user avatar
  • 141
0 votes
0 answers
203 views

Any ideas on tuning single stream tcp performance?

I'm a newbie to TCP tuning and would really like some pointers to possible solutions. I have a Ubuntu 18.04 server with maximum bandwidth of 30Mbps. But simple downloading like scp or wget can only ...
wlnirvana's user avatar
  • 121
1 vote
1 answer
2k views

Is there is any tool/way to find out why packet is getting dropped due to an arp cache full?

My developer hypothesis is packet is getting dropped at arp layer. We increased the default value of neigh.default.gc_thresh3 1024 --> 2048 and now everything looks good. But I want to understand is ...
Prashant Lakhera's user avatar
1 vote
1 answer
714 views

Bottleneck identification using iostat, vmstat, mpstat

I am doing some Apache and MySQL performance tests, then upgrading a single component and running tests again to see where the bottlenecks are. I have a local used server warehouse (Tams in Lindon UT) ...
Alan's user avatar
  • 553
2 votes
1 answer
1k views

Does F5 HTTP/2 profile need tuning?

The current default for the F5 HTTP/2 profile has a Concurrent Streams Per Connection default of 10. This seems a bit conservative. IETF recommended that this value being no smaller than 100, so as to ...
flalar's user avatar
  • 200
-1 votes
1 answer
509 views

Maria Performance Tuning: HyperThreading is great for marketing, lousy for performance [closed]

I'm looking into optimizing my database server and this is what I read in Maria's official documentation here. How true is this? More so, how is this true? Apologies if this is not the best place ...
ygh's user avatar
  • 109
2 votes
2 answers
1k views

DoS attack? Vast majority of apache workers in 'Reading Request' mode, site down last night, slow now

So I think my server might be suffering a Denial of Service attack. We got notified by pingdom (website monitoring) that our website was unavailable starting around 3AM. Early today we started ...
S. Imp's user avatar
  • 586
1 vote
0 answers
1k views

Apache performance tuning for high traffic with MPM Event

I currently manage the following set of servers that serve about 700 web pages: SERVER 1 (WEB) Web server: Apache 2.4.29 with MPM Event PHP 7.2.22 CPU: Intel Xeon CPU E5-2673 v4 @2.30GHz (4 cores) ...
aRoldan's user avatar
  • 11
1 vote
0 answers
25 views

Possible reasons Distribution of durations is tri-modal

Below is the distribution graph of durations from a single page of an asp.net webforms application. As you can see there is a cluster of response times in the 250ms range, there is a cluster in the ...
Aheho's user avatar
  • 367
3 votes
2 answers
788 views

MySQL LOAD DATA INFILE: Better Server, Worse Performance

I am testing out Microsoft Azure Database for MySQL and have run into a performance issue that I do not understand. I launched a "Basic" server with 1 vCore (2 GB RAM, "Standard Storage"), which is ...
user3175864's user avatar
4 votes
1 answer
1k views

Packet drop on HP ProLiant DL360 G9 running RHEL 6.10

We have a HP ProLiant DL360 G9 running RHEL 6.10 with 2 X Intel 82599ES 10-Gigabit SFI/SFP+. HP product name is HP Ethernet 10Gb 2-port 560SFP+ Adapter eth5 and eth6 showing a lot of packet drop (...
Ask and Learn's user avatar
1 vote
2 answers
2k views

Serving a static website with nginx. Response time over 600 milliseconds. What’s wrong?

I serve a wordpress blog with nginx http cached to over 99% of the requests with a cache lifetime of 2 days. Here’s a webpage from the site. The webpages have quite a few images and therefore lazy ...
Cherian's user avatar
  • 791
1 vote
1 answer
4k views

how to reach 1M concurrent TCP connections?

I am trying to setup a environment with multiple nodes (1 receiver + 16 senders) to establish 1,000,000 (1M) concurrent TCP connections. Using this tool: https://github.com/Microsoft/ntttcp-for-linux ...
Howard Shane's user avatar
0 votes
1 answer
87 views

Soak test failing on AWS RDS MySQL

I have a MySQL database in AWS RDS. It is an r4.large machine with 16GB ram. I have been testing its load capacity and find out that upto 18 concurrent users, the app works fine. Then we decided to do ...
Neron Joseph's user avatar
1 vote
2 answers
483 views

Apache Tuning for 512GB RAM

Use Case: API Server Cluster Optimized for JSON Data Submission I have a distributed application sending info to API servers that are slaves of a MySQL 8 master. Applications do full initial sync (~...
Alan's user avatar
  • 553
1 vote
1 answer
405 views

Online performance tuning apache tomcat

I'm relatively new to this field and not sure whether I'm posting the question in the correct forum. I'm trying to do online parameter tuning for the TPC-W benchmark. (It is a 3-tier web application ...
smb564's user avatar
  • 113
2 votes
2 answers
332 views

How to ask antivirus software to work slower and hence use less disk access?

It is our policy for our end-user's computers (usually laptops) to have high power CPUs, GPUs, RAMs (no less than 16GB) and HDD space (1TB), but we save money by choosing lower rotation speed of HDD. ...
TomR's user avatar
  • 111
10 votes
6 answers
4k views

Options for performance improvements on very big Filesystems and high IOWAIT

I have a Ubuntu 16.04 Backup Server with 8x10TB HDD via a SATA 3.0 Backplane. The 8 Harddisks are assembled to a RAID6, an EXT4 Filesystem is in use. This Filesystem stores a huge amount of small ...
t2m's user avatar
  • 136
1 vote
2 answers
100 views

Is it possible for Windows clients to carry out external queries through an alternative DNS server directly?

Our Windows domain is far away. DNS performance is affected. Would it be possible for Windows clients to carry out external queries through an alternative DNS server directly? I understand this is not ...
Xen's user avatar
  • 468
3 votes
1 answer
2k views

Debugging and fine-tuning the linux process scheduler

When debugging sporadic web application slowdowns, I've found that all the processes have quite high maximum scheduling delay. # perf sched record -- sleep 10 && perf sched latency --sort max ...
Mikulas Dite's user avatar
6 votes
2 answers
5k views

Nginx: Optimizing server response time for a HTTP cached website

I have a website with all of the pages served from nginx’s http cache and rarely invalidated or expired. The average total page download size is around 2 MB But despite being a static site with no ...
Quintin Par's user avatar
  • 4,443

1
2 3 4 5
9