Hello

Sorry for my late reply. I was busy the last few days.

> Thank you for your two oprofile reports, but they are not helpful
since
> these cases were not hang-case.

Of course they are helpful. It might be, that mount was not totally
hanging. But 31 seconds instead of some milliseconds is a big
difference, don't you think?

Kernel 2.6.35.10, AUFS 2
------------------------
# mount / -o remount,udba=notify; find /usr -type f &>/dev/null; time
mount / -o remount,udba=reval

real    0m0.031s
user    0m0.000s
sys     0m0.023s

Kernel 3.2.1, AUFS 3
--------------------
# mount / -o remount,udba=notify; find /usr -type f &>/dev/null; time
mount / -o remount,udba=reval

real    0m31.378s
user    0m0.000s
sys     0m0.043s


> Please reproduce the hang-case and post
> the oprofile report at that time.

Anyway, I will try, if I can reproduce a "full" hanger.

> > On your system, the remount to "reval" doesn't run a long time?
> 
> On my dual core system, "remount-reval" didn't take so long time, but
> "find" did. See below.
> 
> /dev/sda9 /usr ext2 rw,relatime,errors=continue 0 0
> /dev/sda15 /usr/local/intel ext2 rw,relatime,errors=continue 0 0
> /dev/ram1 /dev/shm/ro ext2 ro,relatime,errors=continue 0 0
> /dev/ram0 /dev/shm/rw ext3
> rw,relatime,errors=continue,barrier=1,data=writeback 0 0
> none /dev/shm/u aufs rw,relatime,si=ea8a95936af0ac7b 0 0
> /dev/sda9 /tmp/3329/usr ext2 rw,relatime,errors=continue 0 0
> /dev/shm/rw=rw
> /dev/shm/ro=ro
> /tmp/3329/usr=ro
> + cd /dev/shm/u
> + time -o /dev/tty find . -type f
> Command exited with non-zero status 1
> 0.19user 9.94system 0:24.00elapsed 42%CPU (0avgtext+0avgdata
> 8912maxresident)k
> 0inputs+0outputs (2major+1253minor)pagefaults 0swaps
> + time sudo mount . -o remount,udba=reval
> 0.00user 0.21system 0:00.63elapsed 34%CPU (0avgtext+0avgdata
> 5328maxresident)k
> 0inputs+0outputs (32major+1095minor)pagefaults 0swaps

Ok, but /usr in my "find" command is not a branch. It's not exactly the
same test.

And my root ("/") is the AUFS union:
/dev/sda2 /mnt/overlay ext2 ro,noatime,errors=continue 0 0
/dev/sda3 /mnt/rootfs ext2 ro,noatime,errors=continue 0 0
/dev/sda6 /mnt/rwdisk ext3
rw,noatime,errors=continue,barrier=1,data=writeback 0 0
aufs / aufs rw,relatime,si=ecdd3de3,udba=notify,nowarn_perm 0 0

Best regards
Elmar

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Reply via email to