Skip to main content

Posts

ubuntu - ssd performance against hdd performance

itemprop="text"> I have two server, one with a SSD, one with a HDD. I've been running hdparm to see the differences, but the results for Timing cached reads and Timing are quite equal/HDD is faster: SSD: Timing cached reads: 26080 MB in 2.00 seconds = 13053.64 MB/sec Timing buffered disk reads: 1558 MB in 3.00 seconds = 518.77 MB/sec Timing O_DIRECT cached reads: 966 MB in 2.00 seconds = 482.99 MB/sec Timing O_DIRECT disk reads: 1528 MB in 3.00 seconds = 508.71 MB/sec HDD: Timing cached reads: 28248 MB in 2.00 seconds = 14137.88 MB/sec Timing buffered disk reads: 496 MB in 3.01 seconds = 164.78 MB/sec Timing O_DIRECT cached reads: 994 MB in 2.00 seconds = 496.24 MB/sec Timing O_DIRECT disk reads: 486 MB in 3.01 seconds = 161.55 MB/sec The buffered disk reads are way faster on the SSD, but ...

ubuntu - ssd performance against hdd performance

I have two server, one with a SSD, one with a HDD. I've been running hdparm to see the differences, but the results for Timing cached reads and Timing are quite equal/HDD is faster: SSD: Timing cached reads: 26080 MB in 2.00 seconds = 13053.64 MB/sec Timing buffered disk reads: 1558 MB in 3.00 seconds = 518.77 MB/sec Timing O_DIRECT cached reads: 966 MB in 2.00 seconds = 482.99 MB/sec Timing O_DIRECT disk reads: 1528 MB in 3.00 seconds = 508.71 MB/sec HDD: Timing cached reads: 28248 MB in 2.00 seconds = 14137.88 MB/sec Timing buffered disk reads: 496 MB in 3.01 seconds = 164.78 MB/sec Timing O_DIRECT cached reads: 994 MB in 2.00 seconds = 496.24 MB/sec Timing O_DIRECT disk reads: 486 MB in 3.01 seconds = 161.55 MB/sec The buffered disk reads are way faster on the SSD, but I'm unsure if I should worry about above mentioned performance? How could I improve this if necessary/possible? Answer The cached reads aren't from t...

apache 2.2 - Multiple php versions simultaneously on Ubuntu

I want to be able to run multiple php versions on my development box running Ubuntu 12.04. What I want to accomplish is that when I use localhost as domain a default is used (let's say php 5.3.17). When I use 547.localhost as domain php 5.4.7 is used. I've seen some tutorials to get this working using fastcgi but until now I haven't been able to get it to work. I've looked at these tutorials: href="http://dbforch.wordpress.com/2010/05/21/apache2-fastcgi-multiple-php-versions-ubuntulucid-10-04/" rel="nofollow noreferrer">http://dbforch.wordpress.com/2010/05/21/apache2-fastcgi-multiple-php-versions-ubuntulucid-10-04/ href="http://www.metod.si/multiple-php-versions-with-apache-2-fastcgi-phpfarm-on-ubuntu/" rel="nofollow noreferrer">http://www.metod.si/multiple-php-versions-with-apache-2-fastcgi-php...

apache 2.2 - Multiple php versions simultaneously on Ubuntu

I want to be able to run multiple php versions on my development box running Ubuntu 12.04. What I want to accomplish is that when I use localhost as domain a default is used (let's say php 5.3.17). When I use 547.localhost as domain php 5.4.7 is used. I've seen some tutorials to get this working using fastcgi but until now I haven't been able to get it to work. I've looked at these tutorials: http://dbforch.wordpress.com/2010/05/21/apache2-fastcgi-multiple-php-versions-ubuntulucid-10-04/ http://www.metod.si/multiple-php-versions-with-apache-2-fastcgi-phpfarm-on-ubuntu/ For as far as I can see I have done everything that is needed. The problem is that php simply doesn't run. When I go to http://localhost/somephpfile.php it just outputs the source of the php file. The same for http://547.localhost/somephpfile.php . I'll break down what steps I took in the hope that someone is able to spot what I missed. First I installed a default lamp stack using sudo apt-get in...

Can two IIS Websites with nearly Identical Code Basis be sent to the same ColdFusion Backend?

itemprop="text"> Running cold fusion standard, so i can only have 1 instance of the coldfusion tomcat host per machine. href="https://helpx.adobe.com/coldfusion/configuring-administering/web-server-management.html#IIS" rel="nofollow noreferrer">https://helpx.adobe.com/coldfusion/configuring-administering/web-server-management.html#IIS says it's fine to have two websites send over to the same isntance, but i was wondering if it's still fine if the two websites are almost exactly the same code base, same file names, etc. We were looking at this option to run two slightly different sites of the same server, aka only change a few files and let vhost routing make it so different users get different experience. I understand double the load means double the resources for tomcat, but we you can assume it'...

Can two IIS Websites with nearly Identical Code Basis be sent to the same ColdFusion Backend?

Running cold fusion standard, so i can only have 1 instance of the coldfusion tomcat host per machine. https://helpx.adobe.com/coldfusion/configuring-administering/web-server-management.html#IIS says it's fine to have two websites send over to the same isntance, but i was wondering if it's still fine if the two websites are almost exactly the same code base, same file names, etc. We were looking at this option to run two slightly different sites of the same server, aka only change a few files and let vhost routing make it so different users get different experience. I understand double the load means double the resources for tomcat, but we you can assume it's properly sized. I'm just wondering if there are technical/concurrent problems with doing it this way. EG: would coldfusion compiler cache things incorrectly, or maybe it uses distinct class loaders per IIS virtualdir, or maybe it's all checksum based on the hash of the cfm file... Answer As l...

ubuntu - High server load with no processes using CPU?

I'm new to managing servers, and I've run into something that's stumped me. I received a warning from my VPS provider informing me that my load usage was very high. I hadn't run into this problem before, so I attempted to look into it. Unfortunately I haven't been able to figure out why this is the case after quite a bit of research. The server is, I believe, OpenVZ, with plenty of RAM to spare (2 GB) and a decent processor with a SSD. I've shut down nearly every process that I could imagine that might be an issue besides apache. I've inspected my top/htop output very carefully and I can't detect anything unusual. But notice the load average. It should be around 0 with this level of CPU usage, right? href="https://i.stack.imgur.com/1cOEs.png" rel="nofollow noreferrer"> src="https://i.stack.imgur.c...

ubuntu - High server load with no processes using CPU?

I'm new to managing servers, and I've run into something that's stumped me. I received a warning from my VPS provider informing me that my load usage was very high. I hadn't run into this problem before, so I attempted to look into it. Unfortunately I haven't been able to figure out why this is the case after quite a bit of research. The server is, I believe, OpenVZ, with plenty of RAM to spare (2 GB) and a decent processor with a SSD. I've shut down nearly every process that I could imagine that might be an issue besides apache. I've inspected my top/htop output very carefully and I can't detect anything unusual. But notice the load average. It should be around 0 with this level of CPU usage, right? I was wondering if it was maybe something to do with disk usage, but since this is OpenVZ apparently I can't use a tool like atop to determine more information about disk activity. How can I debug this further? Thanks!