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
2
votes
1 answer

How do i set a cronjob to use less CPU

I'm managing a server witch host several ruby on rails websites. I need a cron job for every website that does : send emails (notifications) create thumbnails Unfortunatly, every time the cron is executed, it takes 100% of the CPU usage, so that…
boby lapointe
  • 121
  • 1
  • 4
2
votes
1 answer

How can I optimize system resource usage for many different gunicorn powered Django sites with low traffic?

My server is a Linode with 768MB of RAM. It is home to around 8 small, low traffic Django sites powered by Nginx, Supervisor, and Gunicorn. Currently, each site has its own Linux user account, with the site's files in the home directory of the…
davidscolgan
  • 395
  • 2
  • 12
2
votes
2 answers

Is there guidance to optimise W2008R2 threading performance?

I want to make sure that my W2008R2 box has least possible interrupts and context switches on the CPU threads. I have 4 cores / 8 HT threads CPU. I am running a single application which uses only sockets as IO device so the only HW interrupts I…
Boppity Bop
  • 752
  • 3
  • 11
  • 34
2
votes
0 answers

Why does this one file not respect .htaccess' cache-control header?

Testing performance improvements, I added an .htaccess file with the following directives to my /assets folder (where I store a few images of various types). Header set Cache-Control…
msanford
  • 1,477
  • 15
  • 28
2
votes
1 answer

How would you configure a dedicated static media HTTP server?

Now that more websites are switching to a set-up with nginx in the front and Apache in the back (or a different webserver doing a better job at serving static media than Apache), I was wondering the following: Would it make sense to put static media…
user99559
2
votes
2 answers

Nginx+apache2 ubuntu server crashed with several hundreds of visitors

I have Linode 768mb RAM server on Linode. And i have Wordpress blog. On my server installed ubuntu, nginx as frontend and apache2 as backend. And i have APC and memcache modules. Sometimes site is crashing. But CPU usage of server is less than the…
2
votes
1 answer

Finding out TCP Initial Window segment size in linux

I run Centos [user ~]$ cat /etc/redhat-release CentOS release 6.2 (Final) With kernel 3.0.4-x86_64-linode21 How do I check the TCP initial window size in my OS? I need to verify that the IW is 10.
Quintin Par
  • 4,373
  • 11
  • 49
  • 72
2
votes
2 answers

TCP Optimization for WinXP

Is there any benefit to optimizing my network connections (TCP) using tools like the TCP Optimizer? http://www.speedguide.net/downloads.php If there is a benefit, how does one do it right?
Animar
2
votes
2 answers

MySQL query caching - what happens if Server runs out of RAM?

so I have enabled query caching on my server but now from the 8 GB RAM there is almost non left! CPU is around 3% ! Now what happens when there is no more RAM left? Will this just increase CPU load? Thank
2
votes
1 answer

squid : faster internet but not responsive

I configured my gateway server with squid proxy for my LAN, everything work normally, the browsing maybe faster because of the cache. but it seems not as responsive as without squid, because when browsing without squid page loading normally loaded…
uray
  • 245
  • 4
  • 7
2
votes
2 answers

How does a SSL Accelerator work, esp in regard to TLS Session IDs?

There is a theory that the TLS Session ID might mitigate the BEAST attack, and one of the comments at the IETF mention that SSL Accelerators may alter this ID. Can someone explain to me (or tell me where to go) to understand what an SSL Accelerator…
makerofthings7
  • 8,911
  • 34
  • 121
  • 197
2
votes
2 answers

how to optimize transatlantic TCP transfers?

I transfer large files between two of my servers one in the US and the other in the Netherlands and I'm wondering if there are any tweaks I can apply that will increase the speed of a transatlantic tcp transfer (ftp or http). Right now I'm running…
incognito2
  • 935
  • 4
  • 13
  • 17
2
votes
1 answer

how to optimize postgresql81 for a hug query but not a complicated one?

i have a query which execution takes 15s on the server. the server is bi-xeon 5130 (2GHz) with 2GB of RAM and 160GB of scsi hardrive in RAID. Database is PostgreSQL 8.1 on Debian 4 etch. This query is executed by an ERP (openerp), so i can't change…
2
votes
1 answer

MySQL config and optimization

Here is the info for my server Giga Dedicated 6-Core: Intel Core i7 (6 x 3,20GHz) 24 GB RAM 160 GB SSD + 2000 GB HDD I have CentOS 5.6 (64bit) installed and Plesk Panel 10 Apache version is 2.2.19 MySQL version is 5.5 PHP 5.3.6 I was interested in…
Denis
  • 21
  • 1
  • 1
  • 2
2
votes
3 answers

Any open source software for measuring & monitoring MySQL performance?

I'm working on improving the performance of a MySQL server. I'm looking for something to measure & monitor the performance of MySQL (as query per second) over time so that I can measure any improvements I make. Are their any easy to use open source…
Continuation
  • 3,080
  • 5
  • 30
  • 38