Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Initng, init replacement for speedy-boot!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
jesus_was_rasta
Apprentice
Apprentice


Joined: 26 Sep 2004
Posts: 173
Location: Tutto intorno a te! :P

PostPosted: Fri May 06, 2005 12:27 pm    Post subject: Initng, init replacement for speedy-boot! Reply with quote

Ciao!
Scusate l'OT, ma mi sembra un bel pacchetto da segnalare.
Sul forum ne parla l'autore:
https://forums.gentoo.org/viewtopic-t-331844-highlight-initng.html
Se guardate le statistiche fatte dall'autore, si passa da un boot di 41 sec ad uno di 17 sec con gli stessi servizi avviati! 8O
Che ne pensate? Mi piacerebbe sentire i pareri dei nostri Guru italiani :D
Ciao!

EDIT:
Ho tolto il tag [OT], in effetti mi sembra piuttosto In Topic! ;)
_________________
www.nonsoloboxe.it - Per gli appassionati di Boxe e Sport in genere


Last edited by jesus_was_rasta on Sat May 07, 2005 1:06 am; edited 1 time in total
Back to top
View user's profile Send private message
hardskinone
Guru
Guru


Joined: 02 Jan 2004
Posts: 460

PostPosted: Fri May 06, 2005 12:41 pm    Post subject: Reply with quote

L'ho provato e funziona; naturalmente ha qualche problema di gioventù.

Mentre scrivo è uscita la 0.0.7, corro a provarla.
_________________
Playlinux.net
Back to top
View user's profile Send private message
dappiu
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 242
Location: Pisa, Italy

PostPosted: Fri May 06, 2005 1:21 pm    Post subject: Reply with quote

Come idea sembra buona, lo provo subito, però mi sembra un po' poco documentato.

Chi l'ha provato può postare i problemi che ha avuto?

EDIT: Lo sto provando ma sembra avere un sacco, un sacco di problemi.
Potete provarlo, ma non lo sostituirei per ora a /sbin/init!!!
_________________
If the human brain were so simple that we could understand it, we would be so simple we couldn't.
Back to top
View user's profile Send private message
ogeidix
n00b
n00b


Joined: 14 Sep 2004
Posts: 69

PostPosted: Fri May 06, 2005 1:26 pm    Post subject: Reply with quote

Impressioni ?
è realmente veloce ?

cmq non è la prima volta che sento parlare di init alternativi,
qualcuno ha avuto esperienze anche con qualcosa altro ?
se avete link thanks ;)
Back to top
View user's profile Send private message
Lucacri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 147
Location: 2a Curva di Lesmo!

PostPosted: Fri May 06, 2005 3:26 pm    Post subject: Reply with quote

Quell'uomo è un mito: tutto il giorno per vivere va in giro con i camioncini a vendere gelati e la sera, cosi per passare il tempo, scrive un init script che dimezza il tempo di avvio 8O 8O 8O 8O 8O 8O !!!

Cmq, sto installandolo ora per vedere se è davvero cio che il mio portatile richiedeva :)
Back to top
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Fri May 06, 2005 4:27 pm    Post subject: Reply with quote

Grazie della segnalazione, lo provo e vi saprò dire com'é :D
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Fri May 06, 2005 4:34 pm    Post subject: Reply with quote

ogeidix wrote:
Impressioni ?
è realmente veloce ?

cmq non è la prima volta che sento parlare di init alternativi,
qualcuno ha avuto esperienze anche con qualcosa altro ?
se avete link thanks ;)


L'anno passato il progetto del corso di Sistemi Operativi di Bologna era riscrivere rc per far partire i processi in concorrenza. Ovviamente era un progetto universitario (quindi non molto curato) ma qualcosa di carino è venuto fuori
Back to top
View user's profile Send private message
Mithrandir81
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 135

PostPosted: Fri May 06, 2005 4:38 pm    Post subject: Reply with quote

tanto l'avvio si fa una volta sola...
_________________
Code:
#USE="darkside" emerge --update anakin-skywalker
Back to top
View user's profile Send private message
dappiu
Apprentice
Apprentice


Joined: 14 Mar 2005
Posts: 242
Location: Pisa, Italy

PostPosted: Fri May 06, 2005 4:56 pm    Post subject: Reply with quote

Mithrandir81 wrote:
tanto l'avvio si fa una volta sola...


Si ma con i portatili non è sempre possibile...
Se poi ci metti anche che software suspend 2 continua ad avere molti problemi, questa è un ottima soluzione.
_________________
If the human brain were so simple that we could understand it, we would be so simple we couldn't.
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Fri May 06, 2005 6:07 pm    Post subject: Reply with quote

8O Fantastico, se mi dite che non vi pianta in asso continuamente lo metto su. Questo sarebbe da metterlo su tutti per fare bugfixes e passarlo a init di default per gentoo; altro che progetto serale, era ora che arrivasse un init veloce.

ps. non mi sembra cosi ot......:wink:
_________________
about:mozilla
Back to top
View user's profile Send private message
hardskinone
Guru
Guru


Joined: 02 Jan 2004
Posts: 460

PostPosted: Fri May 06, 2005 6:19 pm    Post subject: Reply with quote

Io ho avuto problemi con coldplug e keymap. Inoltre, non capisco gli errori di read/write nei file fifo in e out in /var/initng e /var/init-ng, sembra che questo avvenga quando /var si trova in una partizione diversa da /.

Per il resto funziona: per togliere ed aggiungere servizi si usa ng-update, analogo ad rc-update.

@Mithrandir81, vero, il boot si fa una volta sola. Però avere un boot veloce è piacevole e pratico se non hai il computer sempre acceso o non puoi usare software come suspend.
_________________
Playlinux.net
Back to top
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Fri May 06, 2005 6:27 pm    Post subject: Reply with quote

non ho capito come si installa:
io ho copia-incollato lo script in un file di nome initng-0.7.ebuild e l'ho messo in /usr/local/overlays/local/sys-process
poi ho dato
Code:
# ebuild initng-0.7.ebuild digest
!!! aux_get(): ebuild path for 'local/initng-0.7' not specified:
!!!            None
!!! aux_get(): ebuild path for 'local/initng-0.7' not specified:
!!!            None
doebuild(): aux_get() error reading local/initng-0.7; aborting.

inoltre dopo aver emerso initng se volessi tornare al precedente metodo di avvio come devo fare?
_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Back to top
View user's profile Send private message
Ciccio Bueo
l33t
l33t


Joined: 19 Oct 2004
Posts: 834
Location: Treviso

PostPosted: Fri May 06, 2005 6:37 pm    Post subject: Reply with quote

Guglie wrote:
non ho capito come si installa:
io ho copia-incollato lo script in un file di nome initng-0.7.ebuild e l'ho messo in /usr/local/overlays/local/sys-process
poi ho dato
Code:
# ebuild initng-0.7.ebuild digest
!!! aux_get(): ebuild path for 'local/initng-0.7' not specified:
!!!            None
!!! aux_get(): ebuild path for 'local/initng-0.7' not specified:
!!!            None
doebuild(): aux_get() error reading local/initng-0.7; aborting.

inoltre dopo aver emerso initng se volessi tornare al precedente metodo di avvio come devo fare?



fai una nuova directory che si chiama come l'ebuild (in questo caso /usr/local/portage/sys-process/initng/)

poi metti il file *.ebuild in /usr/local/portage/sys-process/initng/

e poi:

Code:
ebuild /usr/local/portage/sys-process/initng/initng-0.7.ebuild digest


e controlla di avere nel make.conf settata la dir per l'overlay:

Code:
PORTDIR_OVERLAY="/usr/local/portage/"



dovrebbe funzionare...
:D


Last edited by Ciccio Bueo on Fri May 06, 2005 6:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Fri May 06, 2005 6:37 pm    Post subject: Reply with quote

soffre ancora di molti problemi di gioventu, e non e' adatto in ambienti hardened.
l'ho provato sul notebook e mi si inchioda quando tocca hotplug.

provero' piu avanti
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
Guglie
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 240
Location: switzerland - zürich

PostPosted: Fri May 06, 2005 6:52 pm    Post subject: Reply with quote

Ciccio Bueo wrote:

fai una nuova directory che si chiama come l'ebuild (in questo caso /usr/local/portage/sys-process/initng/)

ok, avevo dimenticato di creare le directory initng ..
grazie :wink:
_________________
A! Elbereth Gilthoniel! silivren penna míriel o menel aglar elenath!
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri May 06, 2005 7:36 pm    Post subject: Reply with quote

è una figata!
ma l'implementazione di alcune cosa andrebbe cambiata e/o riscritta
ma per essere un prj allo stato embrionale direi che rende bene!!!
ma la cosa piu' bella è che come piattaforma di sviluppo per tale progetto
è stat scelta gentoo! quindi se la cosa va avanti (come mi auguro)
saremo i "primi" a beneficiarne appieno :D

hardskinone wrote:

@Mithrandir81, vero, il boot si fa una volta sola. Però avere un boot veloce è piacevole e pratico se non hai il computer sempre acceso o non puoi usare software come suspend.

parole sante

SilverXXX wrote:
ps. non mi sembra cosi ot......:wink:

anche secondo me non è OT
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
Dhaki
Guru
Guru


Joined: 16 Jun 2004
Posts: 325
Location: Ticino - CH

PostPosted: Fri May 06, 2005 8:27 pm    Post subject: Reply with quote

Allora, l'ho provato ma mi si avvia in modalità single, qualcuno sa perché? Ho messo nel lilo.conf
Code:
append = "init = /sbin/initng"
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri May 06, 2005 8:51 pm    Post subject: Reply with quote

Dhaki wrote:
Allora, l'ho provato ma mi si avvia in modalità single, qualcuno sa perché? Ho messo nel lilo.conf
Code:
append = "init = /sbin/initng"

boh... prova a levare gli spazi...

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
sourcez
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 166
Location: Italy

PostPosted: Fri May 06, 2005 10:52 pm    Post subject: Reply with quote

Provato..la fase di init è velocissima! Peccato che si blocca al 93% quando dice che manca un secondo all'avvio;
da anche a me gli errori in scrittura su /var/initrg.
_________________
"Tutti pensano a cambiare l’umanità ma nessuno pensa a cambiare se stesso."
Lev Tolstoj
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Fri May 06, 2005 11:47 pm    Post subject: Reply with quote

comio wrote:
Dhaki wrote:
Allora, l'ho provato ma mi si avvia in modalità single, qualcuno sa perché? Ho messo nel lilo.conf
Code:
append = "init = /sbin/initng"

boh... prova a levare gli spazi...

ciao


init significa appunto single
con gli spazi son 3 parametri. :roll:
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Sat May 07, 2005 12:01 am    Post subject: Reply with quote

segnalo http://gentoo-wiki.com/HOWTO_Initng che svela molti dubbi su alcuni meccanismi oscuri (che personalmente non avevo capito :()
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
SilverXXX
l33t
l33t


Joined: 18 Sep 2004
Posts: 885

PostPosted: Sat May 07, 2005 7:57 am    Post subject: Reply with quote

Premetto che mi dà alcuni errori e il comando ng-update manca del comando show, ma a parte questo è di una velocità disarmante (mi sono cadute le @@ pensando al vecchio init, e alla fine che si merita visto questo initng). Appena completerà il comando ng-update con show, si potrebbe integrare in gento0 (così ci mangiamo ogni altra distro in partenza :twisted: ), passando gli script degli ebuild da init a initng.
_________________
about:mozilla
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat May 07, 2005 8:13 am    Post subject: Reply with quote

Qualcuno di voi ha fatto un confronto con l'opzione RC_PARALLEL_STARTUP in /etc/conf.d/rc?

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Sat May 07, 2005 8:24 am    Post subject: Reply with quote

comio io quell'opzione l'ho provata, non funziona molto semplicemente, non funziona incasina tutto.
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Sat May 07, 2005 8:30 am    Post subject: Reply with quote

comio wrote:
Qualcuno di voi ha fatto un confronto con l'opzione RC_PARALLEL_STARTUP in /etc/conf.d/rc?

Bella domanda e' quello che mi stavo proprio domandando
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum