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
4
votes
3 answers

How to determine bottlenecks on Ubuntu LAMP environment

What kind of tests should I run to determine bottlenecks on my server? I'm trying to optimize so I can maintain heavy load spikes when they occur. I'm running Ubuntu in a LAMP environment.
Ben
  • 3,800
  • 18
  • 65
  • 96
4
votes
2 answers

Do access logs (from nginx) slow down a website?

Does it slow down a website if your webserver (in my case, nginx) is writing to an access log? I'm mostly wondering if it's noticeable. Plus, what's the point of knowing the user agents / ips that have visited?
Matthew
  • 1,859
  • 4
  • 22
  • 32
4
votes
8 answers

Scaling a LAMP stack

Once you move beyond 100k hits/month, what would people in this community say is the biggest hurdle? My situ: Tons of static media (audio/video/images) being served off of S3/CDN, but being stored locally as backup (not served though). Everything…
onassar
4
votes
3 answers

Have I pushed the limits of my current VPS or is there room for optimization?

I am currently on a mediatemple DV server (basic) 512mb dedicated ram, this is a CentOS based VPS with Plesk and Virtuozzo. My experience with it from day 1 has been bad and I only could sooth my server issues with several caching "Band-aids," but…
J.Rameau
3
votes
1 answer

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 …
3
votes
4 answers

Joins performed without indexes: 5568

I was trying to do mysql optimization. Yesterday the CPU usage was 100%. I am trying to optimize with mysqltuner but this time I gave a mysqltuner warning. I have a high-traffic db. 500-600 connections in a day. Maybe more. How can I fix it? [!!]…
Tota1907
  • 39
  • 1
  • 1
  • 4
3
votes
1 answer

Optimizing nginx client_body_buffer_size for web app accepting file uploads

When configuring nginx, what considerations affect client_body_buffer_size? I've set it to 10m for a website where users upload photos and image-memes (kind of like 9gag). Note that client_max_body_size is set to 10m as well. Overall, my reasoning…
Hassan Baig
  • 2,325
  • 12
  • 29
  • 48
3
votes
0 answers

Optimal server stack for Wordpress

There are numerous tutorials/articles(some even with benchmarks) on how to create an optimized stack to run Wordpress(or any dynamic site, for that matter). The site doesn't get frequently updated(best case scenario one article per week), so a long…
3
votes
4 answers

What is a core, and will purchasing more cores for my VPS speed up page load times?

I recently purchased a premium WordPres plugin called Hide my WP. I planned on using this plugin for my nonprofit organization's website, which is a multisite WordPress installation with an SSL. Upon implementing it, page load times went from 4-6…
3
votes
5 answers

Optimizing resources for a low-RAM LAMP server running WordPress?

How to minimize memory usage on LAMP? Virtual dedicated server, max 512 RAM, 20 GB drive space, it should run a Wordpress blog. Not sure for load, but lets say 2-5k visitors per day.
Kazimieras Aliulis
  • 2,324
  • 2
  • 26
  • 46
3
votes
6 answers

MySQL performance tuning

I'm looking for a succinct list of common pitfalls and optimizations for tuning a MySQL server as used for mid-size websites. In general, the type of advice I'm looking for here is information that an ordinary developer or admin can easily…
tylerl
  • 15,055
  • 7
  • 51
  • 72
3
votes
2 answers

What's the optimal server configuration for fastest inserting in a MySql database in this scenario?

I have a MyISAM table partitioned by range with 90 partitions representing the last 90 days. I expect this table to receive somewhere between 500 million to 1 billion records before i start rotating partitions (dropping old ones and creating new…
Gary Willoughby
  • 102
  • 2
  • 11
3
votes
4 answers

Optimize Apache performance

I'm looking for ways to optimize our current web server hosted in-house. I'm trying to supply as much relevant information below. Please let me know if you would require additional information in order to assist. Server is running 1 single website,…
Phliplip
  • 541
  • 8
  • 22
3
votes
4 answers

Windows file server performance tuning

I seek your opinion and tips/suggestions in optimizing the performance of a new Windows file server I'm building. I've inherited a Dell NF500 storage server (basically Dell 2950 with Windows 2k3 Storage Server OS). It has a PERC 6i with 256mb BBU…
cs168
3
votes
4 answers

Optimizing apache server load

We have an issue with a dedicated server load. We have 16 processors with 4 core @ 2.40GHz, if I understood correctly cat /proc/cpuinfo output. Unfortunately, I don't have access to free -m or vmstat. But from top I got that we have 24 GB. And…
Jevgeni Smirnov
  • 492
  • 1
  • 6
  • 22