LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2007, 03:28 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Thumbs down Slow Nfs: How to check it and improve it ?


Hello, I am having one nfs server (kernel server)
and a client mounting the nfs IPserver:/home to /home as defaults.

It is very slow. How can I check what's happening ?
How can I tune it to be faster and secured for the data ?

thank for your help, since it s making people a bit more difficult thigns.
Couldn't it be as simple and as fast as samba ??
 
Old 08-22-2007, 03:57 PM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
http://www.linux4you.be/netwerken.php?id=4

I followed this:
apt-get install
debconf
libc6
libwrap0
nfs-common
sysvinit
nfs-kernel-server
(that was all right installed for both my machines)
I was right

please find in red the difference



server:
==
in /etc/exports
/home 192.168.1.*(rw,no_root_squash)


/etc/init.d/nfs-kernel-server restart


/etc/hosts.allow:
esound: 127.0.0.1
##esound: 127.0.0.1
ALL: 192.168.1.
portmap: 192.168.1.0/255.255.255.0


/etc/hosts.deny:
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOI




CLIENT:
======
192.168.1.1:/home/share /nfsshare nfs rw,hard,intr 0 0




It looks to be wokring better.


Can someone explain me ??

I noted that the problems are coming when I do SAVE AS with iceape and firefox.
I have 30 folders and it is 1 min to load it ... waiting and surprisinly thunar or rox can still open apps... while firefox save as hangs madly ...

Samba is it better than linux free slow nfs ?

Thank you

Last edited by frenchn00b; 08-22-2007 at 04:09 PM.
 
Old 08-24-2007, 06:47 AM   #3
Sephi
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by frenchn00b View Post
server:
==
in /etc/exports
/home 192.168.1.*(rw,no_root_squash)
Try 192.168.1.0/24 instead of 192.168.1.*. As mentioned in the exports manual (man exports), wildcards are not supported but it may happen that they work (when IP resolution fails or something like that). Don't forget to restart your nfs-kernel-server service after that.

Last edited by Sephi; 08-24-2007 at 06:48 AM.
 
Old 09-17-2007, 02:36 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by Sephi View Post
Try 192.168.1.0/24 instead of 192.168.1.*. As mentioned in the exports manual (man exports), wildcards are not supported but it may happen that they work (when IP resolution fails or something like that). Don't forget to restart your nfs-kernel-server service after that.
I works a bit better. It is now possible to get X session on the client.
but it is still very very slow. Is there any way to make it moves a little bit faster.
I noted that samba runs pretty fast.
Is there any way to know what's happening ?

thanks a lot !
 
Old 09-17-2007, 02:50 PM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Sorry it appears not that bad, but still a bit slow. It is anyhow good enough to watch a movie. Totem lags like ** and mplayer : no lags and better sound. I am wondering. (Let's watch a movie ! )

0/24 looks far better than *
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very Slow Exporting during NFS Start / Many NFS Problems VorlonInfoTech Linux - Networking 3 06-28-2006 06:48 PM
mod_proxy slow , how to improve performance tclwp Linux - Networking 2 03-24-2005 12:36 AM
NFS slow and not always there. Xaque208 Linux - Networking 6 01-09-2005 11:44 AM
fast encrypted NFS but slow regular NFS cazzazullu Linux - Networking 0 10-19-2004 10:08 AM
NFS - why so slow? mrjamin Linux - Networking 2 09-26-2004 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration