Estou procurando por apenas alguns usuários Linode 64 atualmente em hosts no centro de dados Fremont (host9 e superior) para ajudar a testar um novo patch de desempenho para o host e UML.
UML funciona usando ptrace, uma função do Linux para interceptar chamadas de sistema feitas por aplicações. Quando o seu UML faz uma chamada de sistema, o anfitrião intercepta a chamada, executa o trabalho dentro do UML, e null-ifica a chamada de sistema no anfitrião, convertendo essa chamada de sistema para "ficar estúpido" no anfitrião. O problema com isto é que gera dois interruptores de contexto no anfitrião.
Com a [url=http://perso.wanadoo.fr/laurent.vivier/UML/
O sistema de arquivos [...]sysemu patches[/url] no host e em UML, não se preocupa em executar "getpid", reduzindo assim o número de trocas de contexto de 2 para 1.
[b]Benchmarks[/b]
Aqui estão alguns benchmarks do "mundo real" usando o roteiro de testes de execução do Mysql:
http://www.theshore.net/~caker/uml/sysemu-benchmarks.txt
Em resumo, os testes correram [b]33% mais rápido[/b] do que sem os patches sysemu.
[b]Detalhes[/b]
[lista][*] Migraremos para hospedar25, mantendo reservado o seu slot no hospedeiro anterior (no caso de precisarmos de o migrar de volta). Caso nunca tenha migrado antes, é um processo automático que move as imagens do seu sistema de ficheiros para o novo anfitrião. Não são necessárias alterações na sua parte, e o tempo de paragem é limitado ao tempo necessário para copiar as suas imagens (geralmente menos de 15 minutos ou mais por 3GB).
[*] Defina o seu perfil de configuração para arrancar o kernel 2.4.26-linode29-1um
[*] Tentar quebrar as coisas[/lista]
Se as coisas correrem bem durante alguns dias, considerá-lo-ei estável e abrirei o servidor ao público. Depois de mais algumas semanas, podemos mover os outros anfitriões para este kernel.
Em segundo lugar, isto irá ajudar a testar o 2.6.7-rc1 na máquina, uma atualização a partir do kernel 2.6.4 atual.
Em terceiro lugar, gostaria também que alguns de vós testassem o kernel 2.4.26-linode29-1um, para se certificarem de que ainda funciona correctamente em hospedeiros sem os patches do sysemu. Por favor, digam-me a vossa experiência com este kernel. Em hospedeiros não habilitados para o sysemu, deve funcionar da mesma forma que os kernels de linode anteriores.
Avise se estivere interessado...
Obrigado!
-Chris
Comentários (17)
Three updates in one test? You’ve got ball-balls Chris!
😀
— James
I’m interested….let do it!
[quote:0999715663=”mcowger”]I’m interested….let do it![/quote]
Great. I haven’t patched a 2.6-um kernel with the sysemu patches yet, so for now go with the 2.4.26-linode29-1um kernel. I’ll update this thread when the 2.6 version is out.
Thanks!
-Chris
I’m game. What do I need to do?
Terry
[quote:31f75d1a84=”terryr”]I’m game. What do I need to do?[/quote]
Login, shutdown, and press the migrate button. After the migration, reboot.
BTW, 5 users have moved over to host25 and so far so good.
-Chris
Done! Are you looking for any specific feedback?
[quote:5c2da2598a=”terryr”]Done! Are you looking for any specific feedback?[/quote]
I pretty much know there’s a performance improvement already, but hearing about that would be nice. It might be kind of difficult to pin down, unless you run specific tests and compare them against the linode28 kernel. Secondly, I wanted to generate some load on the host kernel, and the linode29 kernel, just to make sure the stability is still there.
Thanks!
-Chris
I loaded a fresh Fedora Core 1 distro. Noticed immediately how much faster it is. Ran locate -u which was noticeably faster. Ran top and saw something strange. About every two seconds, there’s a cycle. See pics below. irq goes up to 0.9% and softirq goes up to 49.5% and iowait is 49.5%, then it all drops to 0 for 2 seconds and goes back up again for two seconds.
[img]http://futurecourse.com/files/no_softirq.gif[/img]
[img]http://futurecourse.com/files/softirq.gif[/img]
I don’t recall this happening when I looked at top on the old host. Or did I just miss it?
Terry
I am seeing stragne problems with mysql that I did not see before moving over. Whenever, I try to connect I get this message:
ERROR 2002: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
This is because mysqld either keeps hanging or completely crashes.
It will run fine for a few hours and then just die. I can’t explain why.
I will keep everyone posted.
John
[quote:04e5122a27=”jftuga”]I am seeing stragne problems with mysql that I did not see before moving over. Whenever, I try to connect I get this message:
ERROR 2002: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
This is because mysqld either keeps hanging or completely crashes.
It will run fine for a few hours and then just die. I can’t explain why.[/quote]
I’ve noticed your Linode using a lot of swap, so perhaps you’re running out of memory and the OOM (Out Of Memory) killer is kicking in…
-Chris
[quote:2ab259ee1d=”terryr”]I don’t recall this happening when I looked at top on the old host. Or did I just miss it? [/quote]
I’ll give this a shot, too, but.. would you mind rebooting into the linode28 kernel and seeing if you can reproduce this?
I somehow doubt the SYSEMU patch would be the cause of this, or the mysql problem…
-Chris
I have modified the mysql server for a small memory footprint using the my-small.cnf that comes with the src distro.
I will let you kno if this helps.
Also, I am using a lot of swap, and am considering upgrading to a 96 or 128 when they become available.
-John
[quote:befbb85d95=”caker”]I’ll give this a shot, too, but.. would you mind rebooting into the linode28 kernel and seeing if you can reproduce this? [/quote]
Did that yesterday with no change, but when I checked this morning, I’m at 0.1% for irq and softirq and it cycles with iowait at 0.2%. The high initial numbers didn’t seem to affect performance at all.
—
Terry
where is the migrate button? I shutodown and clicked around but I never found it.
[quote:f84ba42be4=”bakins”]where is the migrate button? I shutodown and clicked around but I never found it.[/quote]
This is something I have to set up for you first (which I just did). Login and you should see it.
Testing has gone very well. In fact, the machine is “live”, 2.6.7-rc1 is performing great (on the host), and the linode29 kernel works perfectly on SYSEMU and non-SYSEMU patched hosts.
I consider this test done, but go ahead and make the move — let me know what you think.
-Chris
I was out of town for a week.
I’ve now migrated and am testing. Everything seems to work. I’m testing out plone. I’ll do some tests and get back.
interesting… is this similar to the skas patch?