Questions tagged [performance]

Questions about server hardware and software performance, or network performance.

Filter by
Sorted by
Tagged with
28 votes
1 answer
67k views

Measure & benchmark the speed & latency of file access on a mounted NFS share

I have a Linux Centos system that mounts some NFS shares, what technique can I use to measure the I/O speed/latency/rate when reading and writing files from that share? Could this technique also be ...
Mark Theunissen's user avatar
28 votes
2 answers
31k views

How are CPU time and CPU usage the same?

In the Wikipedia page for CPU time, it says The CPU time is measured in clock ticks or seconds. Often, it is useful to measure CPU time as a percentage of the CPU's capacity, which is called ...
Jasmine Lognnes's user avatar
28 votes
2 answers
55k views

High disk I/O - jbd2/sda2-8 process

I have run a file server on a CentOS 5.8 final server. My only concern at the moment is what appears to be intermittent but continuous high disk I/O activity causing a general slowdown because of ...
Evan Hamlet's user avatar
26 votes
4 answers
8k views

Is it reasonable to use NFS on a production web server?

Can NFS be reasonably used on production servers as a means of connecting a compute server to a storage server, assuming the connection is over a LAN 1Gbe or 10Gbe connection? There's obviously some ...
Makoto's user avatar
  • 371
26 votes
8 answers
67k views

How can I disable encryption on openssh?

I'm having performance problems using openssh (server) and putty (client) combination to use a remote webproxy. I'd like to disable encryption and test the results to see if it makes a difference. How ...
user avatar
26 votes
11 answers
22k views

Are there any good reasons for disabling hardware-assisted virtualization?

We've had a number of servers from Dell recently, all of which have had hardware-assisted virtualization disabled in the BIOS. As far as I know hardware-assisted virtualization is a good thing - so ...
Tom Robinson's user avatar
26 votes
3 answers
30k views

How much overhead does x86/x64 virtualization have?

How much overhead does x86/x64 virtualization (I'll probably be using VirtualBox, possbly VMWare, definitely not paravirtualization) have for each of the following operations a Win64 host and Linux64 ...
dsimcha's user avatar
  • 681
26 votes
4 answers
38k views

How to pick between RabbitMQ and ZeroMQ or something else?

I'm looking for a queuing system which is fast and reliable and potentially can be spread across machines. Platform is Linux. Open source is preferable. Both RabbitMQ and ZeroMQ look good but I ...
Jason Cohen's user avatar
  • 1,137
26 votes
4 answers
38k views

NFS poor write performance

I have two machines connected with 10Gbit Ethernet. Let one of them be NFS server and another will be NFs client. Testing network speed over TCP with iperf shows ~9.8 Gbit/s throughput in both ...
Sergey's user avatar
  • 611
25 votes
5 answers
32k views

Can a pool of memcache daemons be used to share sessions more efficiently?

We are moving from a 1 webserver setup to a two webserver setup and I need to start sharing PHP sessions between the two load balanced machines. We already have memcached installed (and started) and ...
Tom's user avatar
  • 4,367
25 votes
8 answers
23k views

Should I completely turn off swap for linux webserver?

Recently my friend told me that it is a good idea to turn off swap on linux webservers with enough memory. My server has 12 GB and currently uses 4GB (not counting cache and buffers) under peak load. ...
Poma's user avatar
  • 1,309
25 votes
7 answers
56k views

How many files in a directory is too many? (Downloading data from net)

Greetings, I'm writing some scripts to process images from various photo websites. Right now I'm storing all this data in individual text files in the same directory. The directory is web ...
steve's user avatar
  • 535
24 votes
9 answers
46k views

What impact does full hard drive encryption have on performance?

We have HP notebooks here at work, and it is policy to have HP's hard drive encryption turned on to protect client databases and IP in the case of loss/theft. I was wondering if there was any ...
csjohnst's user avatar
  • 755
23 votes
1 answer
2k views

How to describe VMware performance requirements for our application to a VMware admin?

Often, an installation of our on-site, debian-stable based application runs in a virtual machine - typically in VMware ESXi. In the general case we do not have visibility into or influence over their ...
Peter V. Mørch's user avatar
23 votes
8 answers
22k views

Analyzing Linux NFS server performance

I'd like to do some analysis of our NFS server to help track down potential bottlenecks in our applications. The server is running SUSE Enterprise Linux 10. The kind of things I'm looking to know are:...
Kamil Kisiel's user avatar
  • 12.3k
22 votes
8 answers
23k views

Doing an rm -rf on a massive directory tree takes hours

We're using rsnapshot for backups. It keeps lots of snapshots of the backuped up file, but it does delete old ones. This is good. However it's taking about 7 hours to do a rm -rf on a massive ...
Amandasaurus's user avatar
  • 32.3k
22 votes
2 answers
69k views

Best MySQL cache settings for 8gb RAM dedicated MySQL server using only InnoDB (5gb database)

I'm a pretty big noob when it comes to setting up MySQL for performance. And honestly I'm not worried about the fine tuning to squeeze every last bit of performance out of MySQL, but I do know that ...
billmalarky's user avatar
21 votes
4 answers
3k views

Why would a heavily disk intensive application run faster on a SAN than on a Physical Disk?

Why would a heavily disk intensive application run faster on a SAN than on a Physical Disk? I would have expected the Physical disk to be slightly faster but in fact the process ran 100 times faster ...
Stuart Woodward's user avatar
21 votes
1 answer
39k views

Determining which process is causing heavy disk I/O?

I've seen this question: How to identify heavy write to disk? And I've used dstat and atop before...but they don't seem to pinpoint what process is causing disk I/O. For example, from dstat: dstat ...
davr's user avatar
  • 1,729
21 votes
7 answers
45k views

Troubleshooting a "slow" network

We've all had a complaint that the "network" is "slow" at some point: might be localized to one room (switch) or one computer, might just be Internet (DNS? Browser issue?), might be just one ...
21 votes
2 answers
37k views

jbd2/dm-0-8 consuming all I/O

What is jbd2/dm-0-8 and why It is consuming all my I/O usage and causing I/O wait? Is there anyway to disable this? Bonnie++ results: http://pastebin.com/iQCWP1qp $ sudo hdparm -t /dev/sda1 /dev/...
Super Mario's user avatar
20 votes
7 answers
22k views

What is the best filesystem for insert performance on PostgreSQL?

I'm curious if anyone out there has done any experimentation or comparisons between file systems and database performance. On Linux, I'm wondering what is the optimal file system for a postgres ...
Elijah's user avatar
  • 547
20 votes
1 answer
3k views

Why higher await time for DM multipath device than underlying device?

We have a CentOS 6.4 based server attached to Hitachi HNAS 3080 storage and observed the kernel remount the filesystem in read-only mode: May 16 07:31:03 GNS3-SRV-CMP-001 kernel: [1259725.675814] ...
pdp's user avatar
  • 778
19 votes
5 answers
2k views

Extremely fast booting server

I'm changing the way that our DHCP/DNS stuff works at work. Currently we've got 3 DNS servers, and a DHCP box. All of them are VMs. There's a circular dependency where stuff booting requires NFS, ...
Tom O'Connor's user avatar
  • 27.6k
19 votes
3 answers
12k views

How fast is MySQL replication?

I'm considering setting up replication of our mysql db to be able to have local slaves in each of our branch offices, while having the master in the main office to improve application performance (...
Steven Evers's user avatar
19 votes
1 answer
10k views

Apache 2.2 mpm_worker: more threads or more processes?

When using the Worker MPM in Apache, you can fiddle with the number of child processes and the number of server threads per child process. What are the advantages and disadvantages of each? Under ...
sh-beta's user avatar
  • 6,858
19 votes
7 answers
39k views

Slow NFS transfer performance of small files

I'm using Openfiler 2.3 on an HP ML370 G5, Smart Array P400, SAS disks combined using RAID 1+0. I set up an NFS share from ext3 partition using Openfiler's web based configuration, and I succeeded to ...
Arie K's user avatar
  • 1,643
19 votes
3 answers
5k views

Is running permanently in a VMWare snapshot bad for performance?

I understand that the VMWare KB frowns upon long running snapshots mainly due to two things (In my opinion) Taking tons of snapshots can fill up the data store. Snapshots are simply delta files. ...
VM_Storage_Inception's user avatar
18 votes
10 answers
42k views

How do I benchmark performance of external DNS lookups?

I'm considering Google's public DNS servers as the external DNS for my network. Currently I'm using the DNS servers from my ISP. I've also considered OpenDNS in the past, but ultimately decided not ...
Mike L's user avatar
  • 338
18 votes
3 answers
29k views

DRBD terrible sync performance on 10GigE

I've set up a pair of identical servers with RAID arrays (8 cores, 16GB RAM, 12x2 TB RAID6), 3 10GigE interfaces, to host some highly available services. The systems are currently running Debian 7.9 ...
wazoox's user avatar
  • 6,998
18 votes
1 answer
591 views

Vendor whitepaper says: 5Mpps no prob. I'm already hitting a wall at 120kpps. Where's the bottleneck?

HP's whitepaper on their QLogic (fka Broadcom) NetXtreme II adapters, which includes the specific NIC that I'm testing, states (page 7) that their small packet performance for packets up to 256 bytes/...
Evgeniy Berezovsky's user avatar
18 votes
3 answers
16k views

Suddenly slow RAID performance

We recently noticed our database queries have been taking much longer than usual to run. After some investigation, it looks like we're getting very slow disk reads. We've run into a similar problem ...
danpelota's user avatar
  • 361
18 votes
3 answers
18k views

GlusterFS vs Ceph, which is better for production use for the moment? [closed]

I am evaluating GlusterFS and Ceph, seems Gluster is FUSE based which means it may be not as fast as Ceph. But looks like Gluster got a very friendly control panel and is ease to use. Ceph was ...
Mickey Shine's user avatar
17 votes
3 answers
56k views

Measure Linux IOPS for a running system

How do I measure IOPS of a running Linux server? I know that the theoretical IOPS of a SATA drive is around 90 and enterprise 10k SAS/FC disk is 180. I want to know how much my running system is using ...
Rajkumar S's user avatar
17 votes
8 answers
17k views

How to scale php5+MySQL above 200 requests/second?

I am tweaking my homepage for performance, currently it handles about 200 requests/second on 3.14.by which eats 6 SQL queries, and 20 req/second on 3.14.by/forum which is phpBB forum. Strangely ...
BarsMonster's user avatar
17 votes
2 answers
3k views

ext4 listing of files very slow in one specific directory that contained lots of files before

Background I had a small logrotate misshap... Logrotate would rotate the archived logs by misstake causing a quadratic growth of files in my /var/log/. And by the time I caught wind that something ...
Emma's user avatar
  • 414
17 votes
2 answers
9k views

How do you disable the "last accessed" attribute on NTFS/Windows?

Inspired by this answer, I realize I have no idea how to disable the last accessed attribute in Windows to increase performance. If you can, how? I know in Linux you can mount the partition with the '...
romandas's user avatar
  • 3,362
17 votes
3 answers
27k views

Why is Apache running so many processes? Excessive RAM here?

I notice Apache is running multiple processes on my LAMP server (ubuntu 10.10). I'm just running a Wordpress site with MySQL as a database. It seems like www-data is running apache2 more than it ...
Trent Scott's user avatar
17 votes
9 answers
18k views

How do I profile MySQL?

What tools exist to profile MySQL, like how MSSQL 2000+ does with the SQL Profiler? I'd want to trace things like SQL statements executed, execution times, execution plan, etc.
spoulson's user avatar
  • 2,183
17 votes
6 answers
57k views

IO Wait causing so much slowdown (EXT4 JDB2 at 99% IO ) During Mysql Commit

I am writing an indexer, using python, which indexes documents and insert them into Database, Before it was single process but now i made it to multiprocessing with 4 parallel processes running.After ...
Phyo Arkar Lwin's user avatar
16 votes
2 answers
2k views

Can a virtualized machine have the CPU and RAM resources of multiple underlying physical machines?

We are studying implementing some virtualized servers here, but we don't know what will be better suitable for us. Some folks are saying better have two huge servers, and others are saying have like a ...
Danniel Magno's user avatar
16 votes
14 answers
20k views

Why would wireless routers become less reliable over time?

I've been curious about this for awhile now. I don't know if I'm seeing a real pattern or not, but having worked with many home office/small office wireless routers for a few years now, I've noticed ...
Keith Bentrup's user avatar
16 votes
6 answers
59k views

How to improve MySQL INSERT and UPDATE performance?

This question can probably be asked on StackOverflow as well, but I'll try here first... Performance of INSERT and UPDATE statements in our database seems to be degrading and causing poor performance ...
mmattax's user avatar
  • 1,314
16 votes
4 answers
23k views

Performance difference between compiled and binary linux distributions/packages

I was searching a lot on the internet and couldn't find an exact answer. There are distros like Gentoo (or FreeBSD) which does not come with binaries but only with source code for packages (ports). ...
jozko's user avatar
  • 173
16 votes
1 answer
3k views

What's the difference between a "degraded" RAID 6 array and a "clean" RAID 5 array?

Suppose you have two RAID arrays, one with N disks and one with N+1 disks. The array with N disks was formatted as a RAID 5 and left alone, while the other array was formatted as a RAID 6 before one ...
ATLief's user avatar
  • 306
16 votes
1 answer
28k views

Why is my rsync so slow compared to pure cp or even scp?

I'm transfering the files from Linux to Windows 7 via a mounted share (the share is mounted from Windows on Linux).. I'm copying lots of data (i.e. nearly a TB) from the old to the new machine within ...
mark's user avatar
  • 1,526
16 votes
1 answer
70k views

How to troubleshoot latency between 2 linux hosts

The latency between 2 linux hosts is about .23ms. They are connected by one switch. Ping & Wireshark confirm the latency number. But, i dont have any visibility into what is causing this latency. ...
Jimm's user avatar
  • 303
16 votes
5 answers
14k views

How can I replay Apache access logs back at my servers to do real world load testing?

I looked at Tools for load-testing HTTP servers? but I couldn't see how to replay my own existing logs in any of those tools. I have a bug that only occurs under certain load operations which my ...
Stewart Robinson's user avatar
16 votes
3 answers
36k views

How to identify the cause of 100% CPU usage in Azure App Service?

I have five apps in an Azure App Service Plan, all different copies of the same app for different clients. It's an ASP.NET MVC app with an SQL database. This morning I woke up to slow and non-...
littlecharva's user avatar
15 votes
11 answers
12k views

Would rebooting the server in a schedule be good idea for performance?

I am wondering if rebooting a server in a schedule would be good idea for performance. Let's say we want to reboot the server at 02:00 AM per 2 nights. The server here is Windows Server 2008 R2. ...
tugberk's user avatar
  • 935

1
2
3 4 5
65