View previous topic :: View next topic |
Author |
Message |
Tiro l33t
Joined: 14 Feb 2003 Posts: 752 Location: italy
|
Posted: Mon Sep 12, 2005 2:05 pm Post subject: [nfs] 280KB/s transfer |
|
|
come da subject queste sono le velocità di trasferimento da un pc all'altro della mia rete. Sia via wireless che via cavo ethernet non mi va più di quella velocità.
Ovviamente il dma è attivo su tutti i dischi...
...suggerimenti??
|
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Mon Sep 12, 2005 2:14 pm Post subject: |
|
|
hai provato a forzare nfs per l'utilizzo di tcp _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
Tiro l33t
Joined: 14 Feb 2003 Posts: 752 Location: italy
|
Posted: Mon Sep 12, 2005 2:16 pm Post subject: |
|
|
X-Drum wrote: | hai provato a forzare nfs per l'utilizzo di tcp |
cioè?? ..se l'ho fatto è stato non di proposito... |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Mon Sep 12, 2005 2:18 pm Post subject: |
|
|
no, intendo:
prova a configurare nfs per utilizzare prevalentemente tcp anziche' udp
come protocollo.
A volte questo incide positivamente sulle prestazioni, anche se in realtà
serve per lo piu' in contesti dove la connessione è lenta e problematica.
in ogni caso prova _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
Tiro l33t
Joined: 14 Feb 2003 Posts: 752 Location: italy
|
Posted: Mon Sep 12, 2005 2:24 pm Post subject: |
|
|
aggiungo questa opzione:
Code: | RPCMOUNTDOPTS="tcp"
|
e/o
Code: |
LittLe # grep nfs -i /etc/sysctl.conf
fs.nfs.nlm_tcpport = 1
#fs.nfs.nlm_udpport = 0 |
? |
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Mon Sep 12, 2005 2:25 pm Post subject: |
|
|
X-Drum wrote: | hai provato a forzare nfs per l'utilizzo di tcp | Bhe teoricamente non dovrebbe aiutare in termini di velocità anzi... introducendo un maggiore overhead nella gestione della comunicazione "potrebbe" anche peggiorare la situazione.
Forse potresti provare i tweak presenti su http://nfs.sourceforge.net/nfs-howto/performance.html _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
Tiro l33t
Joined: 14 Feb 2003 Posts: 752 Location: italy
|
Posted: Mon Sep 12, 2005 2:32 pm Post subject: |
|
|
ci guarderò con calma q sera all'howto...ad ogni modo le partizioni le monto così dai client:
Code: | LittLe # grep nfs /etc/fstab
sp0ck:/home/media /home/media nfs sync,hard,intr,rw,nolock,rsize=8192,wsize=8192 0 0
sp0ck:/mnt/dvd /mnt/dvd nfs users,sync,hard,intr,ro,nolock,rsize=8192,wsize=8192 0 0
|
mentre il server viaggia con le conf di default...voi come avete configurato il tutto? |
|
Back to top |
|
|
Tiro l33t
Joined: 14 Feb 2003 Posts: 752 Location: italy
|
Posted: Mon Sep 12, 2005 2:33 pm Post subject: |
|
|
ah....dimenticavo che una partizione è condivisa allo stesso tempo da samba ed nfs...forse portebbe essere quello il problema? |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Mon Sep 12, 2005 3:15 pm Post subject: |
|
|
mrfree wrote: | X-Drum wrote: | hai provato a forzare nfs per l'utilizzo di tcp | Bhe teoricamente non dovrebbe aiutare in termini di velocità anzi... |
infatti nn l'ho spacciata come soluzione per l'incremento della velocità:
se leggi bene o spiegago in che contesto si adopera...
era un tentativo per capire se dietro al suo problema si celevano problematiche
di cui sopra _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
|