[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: runit x SysV-int



Nada como o ano novo para vc detonar o PC ;)

Obrigado pela dica:

Jimmy Wennlund has been doing to Linux what Apple has done to Tiger: Make it boot faster. Jimmy wrote initng, a replacement for the Sys-V style "init" application. It allows for better service dependency checking and will start services in a highly parallel fashion, dramatically speeding up the Linux boot process.

initng , like Apple's launchd, breaks somewhat from the traditional Sys-V style init scripts. It is however very easy to configure and setup. Unlike launchd, it does not use XML for it's configuration files. Initial tests show that initng can dramatically speed up the boot process on single processor machines, and should result in even higher gains on multi-CPU machines. initng is currently considered beta-quality software and will require additional users, documentation writers and developers to become a very viable alternative for Linux users.


Vou aguardar até cair no SID...



Fabio Serpa

Marcos Vinicius Lazarini wrote:
Nao conhecia esse runit... O que eu vi e achei mais interessante foi o initng:
http://www.osnews.com/story.php?news_id=10513
http://freshmeat.net/projects/nextgenerationinit/?branch_id=57943&release_id=215375

Não deixe de ver o bootchart na pagina do projeto. O boot passou de 41s para 24s.

Pena que no debian ainda está no experimental....
http://packages.debian.org/initng

PS: Mas que data pra vc ficar fazendo essas experiências! :-)
--
Marcos

Fabio Serpa wrote:

Como não obtive respostas fui com a cara e a coragem e mandei a instalação do runit.
Vou responder os 3 ítens. Espero que seja útil ou inicie um debate...


1° houve ganho de desempenho no boot?

Sim. Notei que o boot ficou uns 5 à 10 segundos mais rápido

2° causou algum tipo de incompatibilidade?

Sim.
Pelo que parece a instalação dos pacotes não converte os scripts do sysvinit, ou seja, alguns seviços não funcionam. O mais estranho é que o tty1 fica preso com a última linha: "runit: enter stage: /ec/runit/2" o bom é que o tty2 funfa... Ele não iniciou o KDM atomáticamente e não foi capaz de reiniciar normalmente.

3° foi só instalar os pacotes runit, runit-run e runit-services, ou teve
 que alterar outros scripts no sistema?

Provavelmente eu teria que converter os scripts do sysvinit para runit.

Como não quis me aventurar mais no meu SO de produção eu removí os pacotes do runit e reinstalei os pacotes do sysvinit e tudo voltou a normal...


Pergunta:

O runit passará a ser o padrão em um futuro próximo?




Fabio Serpa

Fabio Serpa wrote:

Olá pessoal!

Eu gostaria de saber se alguém já substituiu o SysV-init pelo runit? Se sim:

1° Houve ganho de desempenho no boot?

2° causou algum tipo de incompatibilidade?

3° foi só instalar os pacotes runit, runit-run e runit-services, ou teve que alterar outros scripts no sistema?

Se vc não substituiu. Teve algum motivo aparente?

Waleu!




_______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html




	

	
		
_______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html


Reply to: