View previous topic :: View next topic |
Author |
Message |
akshimassar n00b
Joined: 01 Dec 2007 Posts: 44 Location: Moscow, Russia
|
Posted: Wed Sep 19, 2012 3:03 pm Post subject: nfsd in D-state |
|
|
Hello, guys.
I have a problem with my nfs. My home dir (desktop) is mounted via nfs (from router). Both (desktop and router) runs gentoo, connected over gigabit switch.
Problem can be reproduced by running firefox at desktop. As I assume, firefox generate many io and nfs (nfsd at router) fall into D-state from time to time. nfsd (all 8 threads) could stay in D-state up to 10-20 seconds.
Everything was O.K. until I changed hdd at router (soft RAID-0 to 1 hdd) and upgraded to nfs4. It was some time ago and now I cannot fall back to previous configuration.
Here is my config:
Code: | exports:
/home/akshi-desktop/ 10.255.0.13(rw,no_subtree_check,no_root_squash)
fstab:
10.255.0.1:/home/akshi-desktop/home/akshimassar /home/akshimassar nfs rw,nfsvers=3,proto=tcp,noatime 0 0 |
And call trace (got it with magic sysrq) when all nfsd in d-state. Can anyone say something useful about this log?
What can I test to determine a reason?
Copying big file over nfs is about 50MB/s.
Copying (to router) 20MB files over nfs takes about 3secs on each file. 2 seconds on copying date and 1 sec pause.
Yeah, after "upgrade" creating a little files is very slow.
Thank you for your help. |
|
Back to top |
|
|
akshimassar n00b
Joined: 01 Dec 2007 Posts: 44 Location: Moscow, Russia
|
Posted: Tue Sep 25, 2012 9:08 am Post subject: |
|
|
No ideas?
On my router, еvery process who writes a disk fall to D-state from time to time. E.g. nfsd, kjournald, jbd2/sda4-8. And four last lines are always the same:
Code: |
? kthread+0x9e/0xb0
? kernel_thread_helper+0x4/0x10
? kthread_worker_fn+0x130/0x130
? gs_change+0xb/0xb
|
May be something wrong with my kernel config or hdd? |
|
Back to top |
|
|
akshimassar n00b
Joined: 01 Dec 2007 Posts: 44 Location: Moscow, Russia
|
|
Back to top |
|
|
|
|
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
|
|