linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthias Leopold <matthias.leopold@meduniwien.ac.at>
To: Steve French <smfrench@gmail.com>
Cc: CIFS <linux-cifs@vger.kernel.org>
Subject: Re: almost no CIFS stats?
Date: Fri, 29 May 2020 10:08:41 +0200	[thread overview]
Message-ID: <ad562231-c263-aebf-e1bb-a055c3aea211@meduniwien.ac.at> (raw)
In-Reply-To: <CAH2r5msOOQ3BY+4L4MNDEJU1Lrer1gt0ZwdjE2K0zdurabthsQ@mail.gmail.com>

CentOS 7 has kernel 3.10 (modified by Red Hat)

Am 28.05.20 um 23:31 schrieb Steve French:
> Stats should show counters for most rows.   See example below:
> 
> # cat /proc/fs/cifs/Stats
> Resources in use
> CIFS Session: 1
> Share (unique mount targets): 2
> SMB Request/Response Buffer: 1 Pool size: 5
> SMB Small Req/Resp Buffer: 1 Pool size: 30
> Operations (MIDs): 0
> 
> 0 session 0 share reconnects
> Total vfs operations: 36 maximum at one time: 2
> 
> Max requests in flight: 3
> 1) \\localhost\test
> SMBs: 67
> Bytes read: 90177536  Bytes written: 2
> Open files: 0 total (local), 0 open on server
> TreeConnects: 1 total 0 failed
> TreeDisconnects: 0 total 0 failed
> Creates: 12 total 0 failed
> Closes: 13 total 1 failed
> Flushes: 1 total 0 failed
> Reads: 22 total 0 failed
> Writes: 1 total 0 failed
> Locks: 0 total 0 failed
> IOCTLs: 1 total 1 failed
> QueryDirectories: 2 total 0 failed
> ChangeNotifies: 0 total 0 failed
> QueryInfos: 12 total 0 failed
> SetInfos: 2 total 0 failed
> OplockBreaks: 0 sent 0 failed
> 
> 
> Are you running an old kernel (pre-5.0 e.g.)?
> 
> On Thu, May 28, 2020 at 3:39 PM Matthias Leopold
> <matthias.leopold@meduniwien.ac.at> wrote:
>>
>> Hi,
>>
>> I'm trying to debug the performance of rsync reading from a Windows 2012
>> R2 share mounted readonly in CentOS 7. I tried to use cifsiostat, which
>> doesn't print any stats. I looked into /proc/fs/cifs/Stats and saw that
>> it contains mostly "0" for counters (I would expect to see some numbers
>> for eg "Reads"). What am I doing wrong?
>>
>> options from /proc/mounts are
>> ro,relatime,vers=3.0,cache=strict,username=foo,domain=xxx,uid=1706,forceuid,gid=1676,forcegid,addr=10.110.81.122,file_mode=0660,dir_mode=0770,soft,nounix,serverino,mapposix,rsize=61440,wsize=1048576,echo_interval=60,actimeo=1
>>
>> thx
>> Matthias
> 
> 
> 

-- 
Matthias Leopold
IT Systems & Communications
Medizinische Universität Wien
Spitalgasse 23 / BT 88 /Ebene 00
A-1090 Wien
Tel: +43 1 40160-21241
Fax: +43 1 40160-921200

  reply	other threads:[~2020-05-29  8:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 20:37 almost no CIFS stats? Matthias Leopold
2020-05-28 21:31 ` Steve French
2020-05-29  8:08   ` Matthias Leopold [this message]
2020-05-29 16:22     ` Pavel Shilovsky
2020-05-29 18:18       ` Steve French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad562231-c263-aebf-e1bb-a055c3aea211@meduniwien.ac.at \
    --to=matthias.leopold@meduniwien.ac.at \
    --cc=linux-cifs@vger.kernel.org \
    --cc=smfrench@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).