|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
Velocizzare il proprio PC
Ho raccolto un po' di informazioni per poter velocizzare un po' il proprio GNU/Linux e aumentare le risorse del sistema.
La guida l'ho scritta per Debian, per le distro derivate (es: Ubuntu) non dovrebbero esserci problemi (basta mettere sudo dove c'è l'icona di root: #), per le altre distro penso che molte cose si possano fare più o meno allo stesso modo. Faccio presente che alcune delle operazioni che ho indicato possono essere pericolose per l'integrità dei dati e del proprio hardware ... non mi assumo nessuna responsabilità ... fate tutto a vostro rischio e pericolo. http://linguistico.sourceforge.net/w...e_meno_risorse Ciao Davide |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
Quote:
![]() bYeZ!
__________________
Improvise, adapt, overcome. |
|
![]() |
![]() |
![]() |
#3 | ||
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
Quote:
Quote:
![]()
__________________
GPU Compiler Engineer |
||
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
beh ma tanto lei odia linux in tutte le salse (anche se l'ho costretta ad usarlo almeno una volta al giorno, come la pillola
![]() purtroppo il mio pc non lo posso usare almeno fino a meta' agosto (quando scendo a Reggio per prendermi la scheda madre) e poi comunque sul portatile c'e' anche xp su un'altra partizione ![]() bYeZ!
__________________
Improvise, adapt, overcome. |
![]() |
![]() |
![]() |
#5 | |
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
Quote:
![]() ![]() ![]()
__________________
GPU Compiler Engineer |
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
A Budapest non sono mica come in Italia
![]() Fine OT ![]() bYeZ!
__________________
Improvise, adapt, overcome. |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
Quote:
![]() ma ho trovato questo tra i docs: # /etc/inittab: init(8) configuration. # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ # The default runlevel. id:2:initdefault: # Boot-time system configuration/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:/etc/init.d/rcS # What to do in single-user mode. ~~:S:wait:/sbin/sulogin # /etc/init.d executes the S and K scripts upon change # of runlevel. # # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # Normally not reached, but fallthrough in case of emergency. z6:6:respawn:/sbin/sulogin # What to do when CTRL-ALT-DEL is pressed. #ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now # Action on special keypress (ALT-UpArrow). #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." # What to do when the power fails/returns. pf:: powerwait:/etc/init.d/powerfail start pn:: powerfailnow:/etc/init.d/powerfail now po:: powerokwait:/etc/init.d/powerfail stop # /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last # characters of the device (after "tty"). # # Format: # <id>:<runlevels>:<action>:<process> # # Note that on most Debian systems tty7 is used by the X Window System, # so if you want to add more getty's go ahead but skip tty7 if you run X. # 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6 # Example how to put a getty on a serial line (for a terminal) # #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 # Example how to put a getty on a modem line. # #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 cosa dovrei modificare per non caricare le console aggiuntive quindi? bYeZ!
__________________
Improvise, adapt, overcome. Ultima modifica di ATi7500 : 18-07-2007 alle 17:41. |
|
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
secondo feedback:
Architettura i386 Installare una versione 2.6 (se si ha ancora una 2.4) di Linux. Se si è installata la versione 2.6 e si sta utilizzando un'architettura hardware i386, allora installare il pacchetto "libc6-i686". # apt-get install libc6-i686 Questa pacchetto permette di aumentare le prestazioni del proprio PC del 40-60% questo pacchetto era gia' installato sul mio sistema, penso che ubuntu lo abbia caricato di default. Altresi, mi e' stato proposto di rimuovere pacchetti ridondanti con il comando "sudo apt-get autoremove" bYeZ!
__________________
Improvise, adapt, overcome. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
Questo e' il contenuto del mio fstab:
# /etc/fstab: static file system information. # # -- This file has been automaticly generated by ntfs-config -- # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # Entry for /dev/sda3 : UUID=271d9d0e-f2dc-4e90-8738-2da9ed57b0b2 / ext3 defaults,errors=remount-ro 0 1 # Entry for /dev/sda6 : UUID=f8f9ca41-586f-4ce2-b4f3-01d641103315 none swap sw 0 0 /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/hda1 /media/WINXP ntfs umask=222,utf8 0 0 /dev/hda5 /media/DATA ntfs umask=222,utf8 0 0 /dev/sda5 /media/DATA ntfs umask=222,utf8 0 0 /dev/sda1 /media/WINXP ntfs umask=222,utf8 0 0 se rimuovo le voci relative ai drive NTFS (ho problemi col driver NTFS-3G, gia' rimosso) al riavvio non verranno montate, giusto? E come mai le due voci relative alle partizioni EXT3 (ubuntu e swap) sono commentate? e' normale? bYeZ!
__________________
Improvise, adapt, overcome. |
![]() |
![]() |
![]() |
#10 | |
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
Quote:
Per non far montare all'avvio i volumi NTFS aggiungi "noauto" alle opzioni di mount come in : /dev/hda1 /media/WINXP ntfs umask=222,utf8,noauto 0 0 Ciao
__________________
GPU Compiler Engineer |
|
![]() |
![]() |
![]() |
#11 | |
Senior Member
Iscritto dal: Nov 2002
Città: Budapest
Messaggi: 19133
|
Quote:
![]() Comunque ieri ho smadonnato non poco per installare NTFS-Config (l'ultima versione sul sito e' piu' recente di quella nei repositories ubuntu) con l'ultima versione del driver NTFS 3G, la quale e' arrivata alla 1.7 mentre su Ubuntu siamo fermi alla 1.328. Non ci ho cavato un ragno dal buco, ma adesso con la nuova versione di NTFS config non ho piu i problemi di prima (a volte non mi montava i drive NTFS quando avevo abilitato i diritti in scrittura). bYeZ!
__________________
Improvise, adapt, overcome. |
|
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: May 2006
Messaggi: 6021
|
scusate se uno ha un dual core t2080 e 2GB di ram e 120GB hd (96liberi), come dovrebbe fare a usare i settaggi +buoni?
|
![]() |
![]() |
![]() |
#13 | |||||
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
Ecco un po' di risposte
Quote:
[quote] ma ho trovato questo tra i docs: [...] 1:2345:respawn:/sbin/getty 38400 tty1 2:23:respawn:/sbin/getty 38400 tty2 3:23:respawn:/sbin/getty 38400 tty3 4:23:respawn:/sbin/getty 38400 tty4 5:23:respawn:/sbin/getty 38400 tty5 6:23:respawn:/sbin/getty 38400 tty6 [...] cosa dovrei modificare per non caricare le console aggiuntive quindi? [quote] la parte che ho lasciata evidenziata deve diventare: Quote:
Quote:
Le libc6-i686 sono usate se sono installate, altrimenti vengono usate le libc6 Per evitare che questo accada bisogna scrivere il nome del pacchetto in /var/lib/deborphan/keep: # echo 'libc6-i686' >> /var/lib/deborphan/keep Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
#14 | |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
Quote:
Ciao Davide |
|
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: May 2006
Messaggi: 6021
|
io ho un amd x2 3600+ / 2*1GB DDr 667 / 1 hd sata2 da 250Gb una mobo
ASRock ALiveNF6G-DVI-D Sck AM2 mATX,PCI-E16x,D-DDR2,SATA2,VGA,Aud,Lan scheda grafica integrata (i soldi sono finiti) Specifiche mobo: ALiveNF6G-DVI 1. Socket AM2 for AMD Athlon™ 64FX / 64X2 / 64 and Sempron Processors 2. NVIDIA® GeForce 6100 / nForce 430 or GeForce 6150SE / nForce 430 Chipsets * AMD LIVE!™ Ready * FSB 1000MHz (2.0GT/s), Hyper-Transport Technology and AMD Cool 'n' Quiet Technology * Integrated NVIDIA® GeForce6-class graphics DX9.0 VGA, Pixel Shader 3.0, Max. shared memory 256MB * Supports Dual Channel DDRII800/667/533 with 4 DIMM slots, maximum capacity up to 8GB * ASRock AM2 Boost: ASRock Patented Technology to boost memory performance up to 12.5% * Hybrid Booster - ASRock Safe Overclocking Technology * Untied Overclocking : During Overclocking, FSB enjoys better margin due to fixed PCIE/ PCI Buses * 1 x PCI Express x 16 slot, 1 x PCI Express x 1 slot * 4 x Serial ATAII 3.0 Gb/s, support RAID (RAID 0, 1, RAID 0+1, RAID 5, JBOD), NCQ, and "Hot Plug" functions * Supports Gigabit LAN 10/100/1000 Mb/s * Dual VGA Output: Support D-Sub and DVI-D ports with DVI Graphics-SI card by independent display controllers * HDMI_SPDIF header, providing SPDIF audio output to HDMI VGA card, allows the system to connect HDMI Digital TV/projector/LCD devices. * 7.1 CH Windows® Vista™ Premium Level HD Audio (ALC888 Audio Codec) * Worldwide first AM2 MB with Windows® Vista™ Premium Logo * Supports Windows® XP Media Center Edition * Free Bundle: 1 x DVI Graphics-SI card * HD 8CH I/O: 4 ready-to-use USB ports, HD 7.1 channel audio jacks |
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
non sono un esperto di hardware.
Io ho fatto quella guida e la sto integrando ... però ognuno, se vuole, deve fare le verifiche personalmente In alcuni casi non si riesce a guadagnare quasi nulla, in altri si guadagna molto ... Ciao Davide |
![]() |
![]() |
![]() |
#17 | |
Senior Member
Iscritto dal: Dec 2004
Messaggi: 3573
|
Quote:
![]()
__________________
Debian amd64 | Gentoo amd64 | AMD Athlon64 3800+ X2@2701Mhz vcore 1.49V | Placing an unpatched Windows computer directly onto the Internet in the hope that it downloads the patches faster than it gets exploited are odds that you wouldn't bet on in Vegas | e-mail+jabber: darkbasic|a.t|linuxsystems|d.o.t|it | www.linuxsystems.it |
|
![]() |
![]() |
![]() |
#18 | |
Senior Member
Iscritto dal: Jan 2007
Messaggi: 356
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 16:54.