Hi folks,
On Fri, Apr 24, 2015 at 08:01:54AM +0800, Jones Syue
wrote:> Hello Ervin,
>
> > I'll notify to you about the result. (First, I need to upgrade
> > that server.)
>
> Sure! That will be great help me to understand if this patch
> works on thast compiling case too,
> thank you.
I"ve downloaded the Ubuntu's Samba 4.1.6 deb source, and patch it
with Jones's patch. I've compiled full samba-tree, I've got 22
packages. So, I've re-installed the exists packages, and made a
test - see below. The conclusion is this patch didn't resolved my
problem, the running time is very similar as before.
So, how can I go away to resolve my slow write problem?
Thanks,
Ervin
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
15.80 14.789129 4 4010639 getegid
15.67 14.661022 4 4010648 geteuid
10.90 10.205386 5 2204716 fcntl
8.05 7.536012 5 1671479 setresuid
7.71 7.219007 4 1671480 setresgid
7.44 6.963770 6 1129072 read
6.65 6.225672 5 1335406 setgroups
5.94 5.561429 9 596124 poll
5.49 5.135218 15 335956 write
3.97 3.716957 4 1003729 getgroups
3.54 3.313368 9 375664 335926 lstat
3.17 2.969795 4 671912 alarm
2.80 2.621463 4 671912 rt_sigaction
0.96 0.898388 5 192815 9 stat
0.63 0.587774 7 81442 9810 getxattr
0.42 0.395203 12 31662 24 writev
0.38 0.359771 6 62982 readv
0.13 0.124557 10 13011 open
0.09 0.084440 7 12982 close
0.09 0.081359 5 17792 fstat
0.06 0.057796 4 13005 getcwd
0.04 0.038026 5 7708 newfstatat
0.02 0.021132 67 317 pread
0.01 0.008339 18 451 pwrite
0.01 0.007232 14 505 getdents
0.00 0.003154 18 178 brk
0.00 0.000389 97 4 fdatasync
0.00 0.000322 17 19 9 utimensat
0.00 0.000250 5 47 getpeername
0.00 0.000230 5 46 1 flock
0.00 0.000152 152 1 unlink
0.00 0.000130 14 9 connect
0.00 0.000122 31 4 msync
0.00 0.000101 9 11 inotify_add_watch
0.00 0.000093 6 16 ioctl
0.00 0.000088 10 9 socket
0.00 0.000080 9 9 sendto
0.00 0.000079 40 2 utime
0.00 0.000053 13 4 munmap
0.00 0.000051 51 1 restart_syscall
0.00 0.000049 8 6 5 setxattr
0.00 0.000040 10 4 mmap
0.00 0.000031 6 5 chdir
0.00 0.000030 6 5 5 chmod
0.00 0.000029 15 2 fsetxattr
0.00 0.000025 8 3 openat
0.00 0.000020 10 2 inotify_rm_watch
0.00 0.000018 18 1 fchown
0.00 0.000017 4 4 umask
0.00 0.000009 5 2 dup2
0.00 0.000007 7 1 ftruncate
0.00 0.000005 5 1 statfs
------ ----------- ----------- --------- --------- ----------------
100.00 93.587819 20123805 345789 total
--
I ? UTF-8