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
1
vote
1 answer

Caching functions - fwrite vs memcache

Which will be faster and best option? Page will load faster with fwrite or memcached cached function? I need to store some functions in cache, they will not update very often, so need only to read it. Which one will be best option?
zion
  • 51
  • 1
  • 3
1
vote
1 answer

volatile partitions on linux

I thought I've read somewhere that you can take a slice of RAM and turn it into a partition with a FS on it and everything. What is the relevant terminology and the tools to accomplish this? I need this to seemlessly (from the POV of an application)…
Flavius A
  • 139
  • 7
1
vote
1 answer

key efficiency 99.97% mysql

using the mysql workbench administrator - my key efficiency is at 99.97% i have read about adding 'key_cache_size=100M' to my.cnf and increasing it as needed is this the correct fix for the problem? im runing server 5.5.11 on server 2008 r2 , 24gb…
Jeff
  • 1,089
  • 5
  • 26
  • 46
1
vote
2 answers

How to optimize Xen Virtual Machine

My server is Core i7 Quad Core I7-860 2.8GHz, and 4 GB DDR3-1333 SDRAM How many xen could I create if each of them has 256 MB memory? How much memory should I leave to the Xen Server(1G?512MB?why?) Is there any way to optimize the xen so that they…
Zhenyu Li
1
vote
4 answers

Requesting Oracle DBA to use SCSI instead of IDE

We want to improve the performance of our oracle database which stores around 10 TB and is OLTP. I noted that the Oracle server uses IDE hard drive, and have heard that SCSI is faster than IDE. Will switching over a server which uses SCSI improve…
fruit_trader
1
vote
2 answers

Where should you do WAN optimization?

Interested in this technology - some vendors do WANop up at layer7, others down in the network layer. Those who are app-aware say that accelerating apps is the way to enhance their performance, the network layer guys say that by, for example,…
mdubash
  • 11
  • 1
1
vote
2 answers

Php + Apache + Mysql + [anything] Server cluster - pitfalls, hints and roadmaps to efficiency

The need has arisen for a clustered server setup (is that what it's called?) in my company. We have our hosting rented abroad, and as such have limited access to the actual hardware, but we have total freedom and are not restrained by financial…
Swader
  • 499
  • 2
  • 5
  • 18
1
vote
2 answers

Moving mod_rewrite rules in .htaccess to httpd.conf

I've got a massive set of URL rewriting rules that I am trying to: optimize transition to use within httpd.conf But I'm facing problems in getting the final product to work. Note: There are optimizations that others have mentioned at:…
siliconpi
  • 1,807
  • 6
  • 32
  • 46
1
vote
0 answers

page loading stops half-way, no server or sql load

i'm running a hostgator vps php/apache/linux/mysql i have a problem that i cannot seem to properly diagnose/fix : sometimes when loading a page, the browser will load have the page, then it hangs for 10-15s, sometimes more, then load the rest of…
Sherif Buzz
  • 283
  • 1
  • 3
  • 16
1
vote
6 answers

MySQL is killing the server IO

Possible Duplicate: MySQL is killing the server IO. I manage a fairly large/busy vBulletin forums (running on gigenet cloud), the database is ~ 10 GB (~9 milion posts, ~60 queries per second), lately MySQL have been grinding the disk like there's…
OneOfOne
  • 222
  • 4
  • 13
1
vote
6 answers

Compress a PDF Document?

I have a PDF file I'm creating from a Word 2007 DOCX file, using the program FoxIt PDF Creator. The document itself looks great, but the generated PDF is about twice as large as I've seen other converters create from that same source document. Is…
Ian
  • 1,498
  • 4
  • 26
  • 32
1
vote
1 answer

vmware esxi linux guest optimization

I'm currently experiencing a problem whereby load on one guest is adversely affecting load on other guests located on the same host. What I'm curious about is what best practices are there for optimizing a Linux guest. Typically, the guests are…
Matt Delves
  • 483
  • 2
  • 6
  • 12
1
vote
1 answer

Optimization of Soft Page Faults

I am currently doing performance analysis on a server and I see an application is generating a large number of page faults/sec. After checking the page reads/sec it seems these are all soft page faults not hard page faults (no disk activity). I…
Adam Fox
  • 137
  • 5
1
vote
3 answers

Why is there high load on my cpu if both %cpu usage is low and %memory is low?

I have a Rackspace cloud server running Ubuntu with 2GB memory that is being used as an application server (the html & php files are loaded from this server and the mysql database is on another server in the same datacenter). When the number of…
1
vote
4 answers

Adjusting MySQL settings to handle big load of users

I have developed a php game that is obviously depending on mysql queries. Im running it on a monster server: Intel Xeon 7550 with 32GB RAM (Redhat x86_64 ES 5.0) with cPanel installed. I released the game on Facebook and only 250 users could use it…
Peter Foster
  • 13
  • 1
  • 3