Saturday, February 28. 2009why I hate linux - the swap cache
found an article explaining another linux VM "feature":
isn't that great? linux swaps out active data from RAM just to cache it? so instead of actually moving data from swap back into RAM, because it is ACTIVE DATA, it keeps it in swap and now has to keep it in sync by wasting CPU and disk i/o time. Knowing how bad linux VM in relation to swapping is, it creates a huge problem. consider this scenario: you have a bunch of active data in swap and it is being cached in RAM, meaning your RAM is still utilized, then linux decides to cache some more of filesystem and your system is basically out of swap and out of RAM at the same time. your main process using all this RAM(read: the most important process) is killed and you are screwed. very unimpressive, linux. Friday, February 27. 2009why I hate php - stability issues
In my work I deal with a lot of unix and unix related things. I wouldn't be doing it if I didn't like it. There are, however, 3 things I really dislike. They are mysql, linux and php.
today is about php. please take a look at the following munin graph. php 5.2.8 -> 5.2.6 downgrade what do you think that was? that huge drop in memory usage, becoming more consistent etc.. It was me downgrading php 5.2.8 to 5.2.6 with all configs being exactly the same. php 5.2.8 turned out to be a real piece of crap. I did try it on a few webservers with high load and it does NOT perform well. the number of system calls is probably 5-10 times higher, I saw spikes in loadaverage, some pages not loading up fast etc. I recommend staying on 5.2.6 for all critical applications. it is not the first time php developers released crap instead of a stable version. Sunday, February 8. 2009why I hate linux - swap
Man, do I hate linux. I normally don't like to vent off like that but take a look at the following munin graph:
to linux, filesystem cache is obviously more important than active data. look at how linux, having about 5gb of RAM in filesystem cache, decided to offload as much of active data as possible from RAM to swap IN ORDER TO cache more of filesystem.
« previous page
(Page 2 of 15, totaling 44 entries)
» next page
|
QuicksearchCategoriesBlog Administration |