Questions tagged [optimization]

Optimization is the process of modifying a system to make some aspect of it work more efficiently or use fewer resources.

A system may be optimized so that it executes more rapidly, or is capable of operating with less memory storage or other resources, or draw less power. The optimized system will typically only be optimal in one application or for one audience. For example, one might reduce the amount of time a task takes to perform at the price of making it consume more memory.

339 questions
6
votes
3 answers

Optimizing VPS Server Memory

WHAT I'M TRYING TO DO The server resource limits sometimes run tight; to help prevent memory exhaustion, I've had to limit server processes. I'm needing a little expert help to know if I'm on the right track, and perhaps spot any obvious settings…
Michael
  • 81
  • 1
  • 9
6
votes
2 answers

How can I determine the memory used by a forked process (Linux)?

Following on from this question. Debian, if that matters. I understand that some memory is shared between forked processes. How then can I determine how much memory is used by a process/set of forked processes? Using the smem tool recommended in…
Tony Meyer
  • 889
  • 1
  • 13
  • 25
6
votes
3 answers

Guest optimization tips for Ubuntu on VirtualBox

I was wondering if anyone could shed light into "Guest optimization tips for Ubuntu (guest)" I came across Virtual Machine guest optimization tips, for Windows. (serverfault.com/questions/4647/ubuntu-inside-virtualbox-is-slow) is close enough, but…
Mak
  • 173
  • 2
  • 6
6
votes
2 answers

Cron job for database repair and optimization

I would like to repair + optimize my MySQL database once a week! How could I do this?
Chris wede
  • 83
  • 3
6
votes
3 answers

Can I optimize these APC settings more?

I would like to optimize APC some more but I am not sure where I could do something. First here is the screenshot after one week of running with the current configuration: I have now the following points that I am unsure of: Do I see it correctly…
Raffael Luthiger
  • 2,001
  • 2
  • 17
  • 26
6
votes
2 answers

Does it makes sense to run "optimize table" when the mysql database is stored on SSD?

The manual says about "optimize table": "Deleted rows are maintained in a linked list and subsequent INSERT operations reuse old row positions. You can use OPTIMIZE TABLE to reclaim the unused space and to defragment the data file." So…
6
votes
5 answers

CPU's on Hyper-V host system is just idling, even though VM's are at full throttle

I have a server that is running Windows 2008 64 bit Hyper-V, with 8 gigs of RAM and Intel Xeon X3440 @ 2.53 Ghz, which gives me 8 logical cores in the performance monitor on the host system. I have set up three Virtual Machines, all running Windows…
6
votes
2 answers

Do you remove unwanted packages (*NIX), or do you disable them?

Im currently building a cobbler and puppet setup. One thing I do is disabling unwanted services with puppet, but then I thought: Should I remove them with cobbler, rather than disabling them after they are intalled? For example, my base class in…
tore-
  • 1,396
  • 2
  • 10
  • 18
6
votes
3 answers

Very slow write speed (NVME drive) on 10G network

Setting up an experimental lab cluster, the write speed for data received via 10G fiber connection is 10% of the local write speeds. Testing transfer speed between two identical machines; iperf3 shows good memory to memory speed of 9.43Gbits/s. And…
roman
  • 191
  • 6
5
votes
2 answers

How can I handle big traffic spikes on my dedicated server?

I have an E-Commerce site, which gains a sudden peak of very high traffic when I turn on different ads campaigns. From this moment on, my current dedicated server (Hostgator, 4GB Memoray, 100mbps uplink) becomes unresponsive. I have worked too…
5
votes
2 answers

How do I optimize TCP stack for HTTP server?

I have a HTTP server that serves only two kinds of page: about 10 KB and about 16 KB (both compressed, other files are from CDN). As the latency is quite high (ping takes more than 300 ms), I want to optimize the TCP stack so that client receives…
jcisio
  • 588
  • 1
  • 9
  • 22
5
votes
2 answers

Disk I/O utilization up to 100% after tuning InnoDB-related MySQL configuration

I have added following lines to "my.conf": query_cache_size=128M innodb_buffer_pool_size=512M innodb_flush_method=O_DIRECT After that Disk utilization started raising, reached 100% and holds steady, also CPU is up a bit because of Disk I/O related…
spacemonkey
  • 217
  • 1
  • 3
  • 8
5
votes
2 answers

Optimize php-fpm and varnish for a powerful server

My setup is Intel® Core™ i7-2600 and RAM 16 GB DDR3 RAM varnish+nginx+php-fpm+apc for a not very heavy WordPress blog with W3 Total Cache and CDN My problem is that after 55 hits per second according to blitz.io varnish starts giving out timeouts.…
Jim
  • 410
  • 4
  • 14
5
votes
6 answers

Capacity Optimization / Deduplication Options for Primary Storage

I'm exploring options for making more efficient use of our primary storage. Our current NAS is an HP ProLiant DL380 G5 with an HP Storageworks MSA20, and one other disk shelf which I'm not sure what it is. The vast majority of our files are PDF…
5
votes
2 answers

Optimizing MySQL for small VPS

I'm trying to optimize my MySQL config for a verrry small VPS. The VPS is also running NGINX/PHP-FPM and Magento; all with a limit of 250MB of RAM. This is an output of MySQL Tuner... -------- General Statistics…
Chris McKee
  • 3,489
  • 2
  • 20
  • 16
1 2
3
22 23