All Questions
Tagged with performance ubuntu
120
questions
1
vote
0
answers
45
views
Linux Server is slow on running some commands
I have a Linux server and ubuntu 20.04 is installed on it. Kernel version is 5.4.0-163-generic. 24 cores and 32GB RAM.
I have database running on this server which is working without any issue. ...
0
votes
0
answers
50
views
Lower throughput in a Bridge created as a Ethernet Switch in a Ubuntu Server -
The setup is given below. I have a server with NIC(eth0 and eth1). I have created a bridge br0. The idea is I want to send the packets received from eth0 via br0 to eth1.
(Laptop)__________Ubuntu ...
0
votes
0
answers
156
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?
0
votes
1
answer
87
views
Disk read metrics not showing for postgres activity
I've long noticed that ESXI wasn't showing disk READ activity for my Ubuntu Postgres database server. I figured maybe it was just a weird bug with ESXI, as it would show disk WRITE activity.
I decided ...
0
votes
1
answer
870
views
Ubuntu Server 18.04 slow performance
I use a server with these hardware:
Cpu: AMD Ryzen 9 5950X 16 cores
Ram: 128GB DDR4 ECC
NVMe SSD HD
There I have installed Ubuntu 18.04 LTS with latest kernel. No panels only the following services ...
1
vote
1
answer
457
views
nginx under high traffic: network goes down when log writes to disk?
An VPS with 2 vCPUs, with Ubuntu 20.04 and nginx.
Nothing changed regarding to loging: neither on nginx, rsyslogd, or journald.
I launch ab (apache-benchmark) from a nearby VPS, like this:
ab -k -c ...
3
votes
2
answers
204
views
Disk write latency with and without RAID
I have run 2 tests with different setup as explained below. I'm using Azure VM Standard D64s v3.
For the first setup I have mounted 4 Premium SSD disks of 4 TB each, and am performing IO operations ...
0
votes
0
answers
135
views
How to find the bottleneck on a virtual server?
I have purchased a cheap virtual server (running with Ubuntu, with 4 virtual? CPUs and guaranteed 8GB RAM, SSD). I started Tomcat8 with my web application (with -Xmx4096m). The startup time is very, ...
2
votes
0
answers
56
views
Why Does "yes" have drastically different performance on different ditros? [closed]
I tested yes using pv with following command on two different distros :
yes | pv > /dev/null
Results :
Ubuntu 16.04 : 5.83GiB/s
Centos 7.x : 100MiB/s
Here is my Specs:
1st distro : Ubuntu ...
0
votes
0
answers
186
views
partition ssd + hdd disk on ubuntu server running plesk
i have a new server with 256 SSD and 4TB SATA HDD, with the following logical volumes mounted
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 223.4G 0 disk
├─sda1 ...
0
votes
1
answer
274
views
Linux Ubuntu disk usage
Currently, I have a streaming dedicated server, below you will be able to see server details:
HDD: 12TB HDD
RAM: 64GB
Processor: Intel® Core™ i7-6700 Quad-Core Skylake Hyper-Threading
Network speed: ...
0
votes
1
answer
2k
views
Can not run Brotli on my Nginx server
I installed Brotli on Ubuntu 18.04 with Nginx.
Here is the procedure I followed :
$ sudo apt-add-repository ppa:hda-me/nginx-stable
$ sudo apt update
$ sudo apt install brotli nginx nginx-module-...
4
votes
2
answers
10k
views
How to install Brotli on nginx and Ubuntu 18.04?
I installed Brotli on Ubuntu 18.04 with Nginx.
Here is the procedure I followed :
$ sudo apt-add-repository ppa:hda-me/nginx-stable
$ sudo apt update
$ sudo apt install brotli nginx nginx-module-...
1
vote
1
answer
4k
views
NFS slow throughput
I have experienced some issues with less-than-expected throughput with NFS. After examining a number of options (endless googling), including raid setup, network interfaces etc, I wanted to test a ...
3
votes
4
answers
2k
views
DL580 G7 giving only low performance on CPU (E7 4870)
I have a DL580 G7 with four E7 4870 and 128gb of RAM installed (eight cartridges with 2x 8gb each). The operation system is Ubuntu 18.04.
There is a TITAN X on the pcie16 and the obligatory p410i ...
0
votes
0
answers
532
views
SSD performance on Ubuntu + Nginx
I'm trying to improve the performance of server for nginx 100TB/month images distributions. But I have two problems: high CPU load and periodical splashes (I don't know why)
Hardware is quite poor (...
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 ...
0
votes
1
answer
930
views
What are all/most ways to enable/disable usage of async file-io in Linux?
To make a long story short, I have two identical servers hosting VMs using VirtualBox and both servers host one VM each nearly setup the same way, only that one is production and the other for ...
1
vote
1
answer
350
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
2
answers
894
views
Intermittent slow response & timeouts - Apache + mod_wsgi + Web2py
I've Ubuntu 14.04.5 LTS (i686) on a Digital Ocean droplet with 2x2.4GHzCPU & 4gb physical memory. I am running a web2py application on it with Apache and mod_wsgi. There are a few additional ...
1
vote
2
answers
273
views
Outgoing network bandwidth is high even for empty response [closed]
I have a simple nginx server that monitors the requests and store them in the access logs. The requests contain data in query parameters and are about 500 bytes. My output is just a HTTP 204 response. ...
9
votes
6
answers
2k
views
Low performance both iSCSI and AoE
We are looking for a resonable speed storage. Because of low budget we decided to use software iSCSI or AoE targets.
Before we change our production infrastucture, we are doing some tests to choose ...
1
vote
0
answers
64
views
Ec2 c4.large not responding
I have this ec2 c4.large machine where I'm hosting a video player, for iframe embed purposes in favor of other sites. I'm posting aws stats from aws admin interface:
As you can see, the cpu is ...
2
votes
1
answer
1k
views
Linux server very slow though it's idle
I have a linux Ubuntu 16.04 box that has been slow for a couple of days now though there's almost no load. It's not underpowered for what it has to do:
file server with Owncloud (two users),
git ...
1
vote
0
answers
139
views
SSD bandwidth issue and analysis
I have Intel's P3700 SSD mounted on a Lenovo x3650 M5 server with two Intel Xeon E5-2630 v3 CPUs. The server is running Ubuntu 14.04 with 4.6.4 Kernel.
I've been using fio to benchmark the SSD using ...
0
votes
1
answer
3k
views
mpm_prefork values for 2-4 GB RAM [duplicate]
I have bought new linode (1GB).
On this page :https://www.linode.com/docs/websites/lamp/install-lamp-on-ubuntu-16-04
Linode says:
Below are the suggested values for a 1GB Linode:
File:/etc/...
5
votes
1
answer
6k
views
php-fpm and nginx @ high CPU usage?
My server is with DigitalOcean with the following plan:
2 Core Processor
2 GB Memory
My website is receiving thousands of visitors, however, both CPU cores are @ 100%:
The issue seems to be with ...
1
vote
1
answer
196
views
Ubuntu LAMP server busy at peak hours
I'm running a Ubuntu 14 server with LAMP on virtual cloud hosting (CityCloud).
The server is usually doing very well with response time<0.5s. However, the problems start at peak hours, mainly ...
0
votes
1
answer
829
views
MySQL slow connection
I am running a laravel application that is on a separate server than my MySQL database.
If I run the query on the Mysql server it takes the expected 0.00 - 0.01 seconds to return. However when I log ...
2
votes
1
answer
179
views
cloud server performance vs same specification dedicated server?
I have a web application written in php (5.6.10) and using Postgresql (9.4) we have about 4k users per day and about 20k page views per days, my main issue that we are running in cloud host with
2 ...
1
vote
1
answer
302
views
nginx no speed limitation for a connection
I have a server with nginx installed on it to serve some files for downloading. I also didn't change default configuration of nginx.
Problem is that when I try to download from this server it seems ...
1
vote
0
answers
1k
views
Why a VPN slows down LAN access?
We have an access server providing VPN to some of our clients and the workforce with laptops. They usually connect from outside of the office, and everything works fine. However, for simplicity and ...
6
votes
2
answers
9k
views
How to optimize Apache speed for serving static content?
I'm well aware ngix is much better for static content, but I can't use it. Otherwise I have full access to my server (VPS).
I've found numerous articles and posts about optimizing apache, but it's ...
0
votes
1
answer
965
views
Is it better to store the MySQL database directory on a separate RAID 1 device?
We have a Linux server with a RAID 1 using two HDDs on which runs a Apache server managing multiple sites and some other services that interact intensively with the databases and produce massive ...
2
votes
1
answer
1k
views
ssd performance against hdd performance
I have two server, one with a SSD, one with a HDD. I've been running hdparm to see the differences, but the results for Timing cached reads and Timing are quite equal/HDD is faster:
SSD:
Timing ...
0
votes
0
answers
457
views
Packet loss between windows guest and Ubuntu 14.04 host
We are seeing packet loss between one of our Ubuntu 14.04 hosts and a KVM guest running Windows 2008 R2. The loss only shows up at high loads. Similarly loaded machines running 12.04 do not exhibit ...
2
votes
0
answers
735
views
NGINX using 100% of the server CPU when testing with Blitz.io
I'm facing an issue here and after four days of looking around I decided to ask for some help here, after all a million heads can think a lot better than one.
I have a Ubuntu 14.04 server setup with ...
6
votes
2
answers
733
views
Calling sync/fsync slows IO after 30 minutes uptime
After 30 minutes of uptime using Ubuntu 14.04 with an ext4 hybrid SSD I see many processes blocking IO using iotop.
The root cause of this slowdown has been traced back to the Unix system call sync.
...
1
vote
1
answer
2k
views
MongoDB high CPU usage
Running MongoDB 2.4.11 on Ubuntu 14.04.1 LTS
In top, this mongod thread is constantly using ~195% CPU:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
24524 mongodb 20 ...
0
votes
1
answer
1k
views
Strange CPU spikes with MySQL
On my server (ubuntu 12.04) mysqld started to show some strange CPU spikes. I've logged some of it as a sample:
http://pastebin.com/4MwKUVwL
The value after the triple dash '---' is the cpu usage (...
0
votes
1
answer
192
views
RAID6 generates quite a IO wait at relatively low TPS
I have a RAID6 array made of 9 SATA3 disks @7200 RPM, 4TB in size.
I have them partitioned with Gparted Live as GPT partitions, starting at the first megabyte.
I am concerned about the read speed. ...
9
votes
3
answers
18k
views
Why iperf still reports 1Gbps performance when using bonding over two 1Gbps adapters?
As I understand it, bonding brings among other benefits the ability to increase the network speed between two machines in a LAN.
Bonding [...] means combining several network interfaces (NICs) to a ...
1
vote
1
answer
955
views
6 times slower disk write in RAID10 on Ubuntu 14.04 after rebuild
OS: Ubuntu 14.04 LTS
Software Raid 10: 4x120Gb Intel 530 SSDs
Initial tests:
1.2 GB/s Write
5.2 GB/s Read
I did some tests to check if everything will go alright with a failed disk:
I set as ...
3
votes
1
answer
742
views
Upstart: Why two processes when running as a different user?
I want to keep a nodejs app running, so I followed this: http://howtonode.org/deploying-node-upstart-monit and installed Monit and Upstart which have been working perfectly for a couple of months. I ...
0
votes
1
answer
498
views
S/W RAID6 and 4k sector format -- slow resync
I'm looking for reason why Linux software RAID-6 re-sync is much slower than I expected.
I have used 6 WDC WD40EFRX HDDs (with 4k physical sectors) to create RAID-6 array.
$ sudo mdadm -v -C /dev/...
2
votes
2
answers
10k
views
Optimizing disk performance on KVM VM configuration
I have a KVM host server running Ubuntu 12.04 LTS, bare bones installation with only KVM installed. The server has an 8 Core Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz CPU with 32GB of RAM and SATA ...
0
votes
0
answers
442
views
Ubuntu server router - only 50% of upload bandwidth
I've changed my internet connection to 400 mbps download and 400 mbps upload.
Real speeds when computer connected directly to optical modem: 421/412 mbps for download/upload.
My network structure is:
...
1
vote
0
answers
483
views
RAID6 Ubuntu rebuild - how to calculate best parameters for fastest rebuild
I am doing a resync on a RAID6 array and I am looking at some 2 days to complete. I looked here for hints on how to speed it up, but I have, instead, managed to slow it down!
HW details are: 10x 4TB ...
0
votes
2
answers
638
views
Graceful way to rsync millions of files between two local folders
I want to rsync a folder with millions of files from a local directory to another, on a daily basis. The files themselves change very rarely.
I want to reduce the impact on the running server, e.g. ...
2
votes
1
answer
543
views
My Ubuntu VPS is not using available swap, even if OOM. What to do?
I recently added 1 GB of swap to my Ubuntu virtual private server to prevent MySQL crashes on RAM overloading. I followed this tutorial.
I use htop to monitor resources. When I use loadimpact to test ...