<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Quotas of Samba process in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627828#M71760</link>
    <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;there are 2 mechanisms in SAMBA, which cause a performance penalty when handling/browsing/opening large directories:&lt;BR /&gt;&lt;BR /&gt;- when accessing a file in any directory for the first time, SAMBA will fill it's directory cache, building a simple list of all file names within this directory. This list is used to later speed up wildcard accesses in that directory. Depending on the no. of files in the directory, building the file name list can take a while.&lt;BR /&gt;&lt;BR /&gt;- when browsing a directory, SAMBA also fills it's stat (file) cache. As a Windows directory entry expects information like file access dates, file size etc. in addition to just the file name, this information needs to be obtained from the individual file headers in OpenVMS - again a somewhat IO intensive operation under OpenVMS.&lt;BR /&gt;&lt;BR /&gt;Once the stat (file) cache is filled, things are getting a little better. But there are 2 problems with SAMBA V2.2.8 here: &lt;BR /&gt;&lt;BR /&gt;* the stat cache handling of the directory tree is broken. This will cause the same file to be entered twice in different directories cache entries (once with /000000 included and once without). This causes the stat cache to not become effective starting the 3rd access to the directory. This is fixed in SAMBA V2.2.12.&lt;BR /&gt;&lt;BR /&gt;* the no. of entries in the stat cache is limited to 16k files per directory. Once your directory grows beyond that no. of files, things get worse...&lt;BR /&gt;&lt;BR /&gt;If you can keep the directory size small, SAMBA works quite well.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Sat, 17 Sep 2005 12:08:12 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2005-09-17T12:08:12Z</dc:date>
    <item>
      <title>Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627816#M71748</link>
      <description>I installed Samba and after some modification it's works almost fine.&lt;BR /&gt;The main limitation, at moment, is server too slow. I compared Advanced Server and Samba and discovered some quota differences.&lt;BR /&gt;For example, Advanced Server daemon run with buffered and direct I/O set to 32767.&lt;BR /&gt;It tryed run Samba daemon with same quotas but I can't do it.&lt;BR /&gt;The samba script is:&lt;BR /&gt;$ run/detached -&lt;BR /&gt;/input=samba_exe:nmbd_startup.com -&lt;BR /&gt;/output=samba_root:[var]nmbd_startup.log -&lt;BR /&gt;/uic=system&lt;BR /&gt;/process_name=NMBD -&lt;BR /&gt;sys$system:loginout.exe&lt;BR /&gt;In this case, NMBD use PQL_D* values.&lt;BR /&gt;If I add /authorize, process use value in SYSAUF.&lt;BR /&gt;So I have to select among some solution, but I'm not about best praticse.&lt;BR /&gt;I'm intrigued by your ideas.&lt;BR /&gt; &lt;BR /&gt;TIA&lt;BR /&gt;Antonio Vigliotti</description>
      <pubDate>Fri, 16 Sep 2005 07:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627816#M71748</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-16T07:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627817#M71749</link>
      <description>Antonio,&lt;BR /&gt;Just a warning, if /AUTHORIZE is specified then /UIC is ignored.&lt;BR /&gt;FWIW.&lt;BR /&gt;Kris (aka Qkcl)&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627817#M71749</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2005-09-16T08:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627818#M71750</link>
      <description>Chris,&lt;BR /&gt;I start samba with SYSTEM accont, so it's no problem. However, I didn't remember this limitation.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627818#M71750</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-16T08:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627819#M71751</link>
      <description>I like to specify the quotas on the command line&lt;BR /&gt;RUN/AST_LIMIT=quota/BUFFER_LIMIT=quota&lt;BR /&gt;etc&lt;BR /&gt;/AUTHORIZE says use the quotas from the username (the process owner i.e. you)&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627819#M71751</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-16T08:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627820#M71752</link>
      <description>Ian,&lt;BR /&gt;let me to be more specific.&lt;BR /&gt;I modified run command with /io_dir=/io_buf and other values but this didn't work.&lt;BR /&gt;Looked more carefully at code and saw inside nmbd_startup there is another run.&lt;BR /&gt;This is the code:&lt;BR /&gt;$ nmbd :== $samba_root:[bin]nmbd&lt;BR /&gt;$ opt = f$trnlnm("SAMBA_NMBD_OPTIONS")&lt;BR /&gt;$ nmbd "-d1" 'opt'&lt;BR /&gt;How you can see, nmbd receive some qualifier so i can't use run with usually qualifiers.&lt;BR /&gt;Again I can't give a value greater than my account (if /authorize). I want give DIO=32767 but I don't want modify SYSTEM account with this value.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 09:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627820#M71752</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-16T09:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627821#M71753</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;do you really believe that running NMBD with /IO_BUFFER or /IO_DIRECT=32767 will do any good ???&lt;BR /&gt;&lt;BR /&gt;These quotas limit the number of CURRENTLY OUTSTANDING buffered or direct IOs for the process.&lt;BR /&gt;&lt;BR /&gt;If NMBD would run against any of those limits, it will enter the MWAIT or MUTEX state. You could also have a look at the remaining BUFIO or DIRIO quota at any time using SHOW PROC/QUOTA/ID=&lt;PID-OF-NMBD&gt;. If those numbers get near ZERO, then that would need to get you worried...&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/PID-OF-NMBD&gt;</description>
      <pubDate>Fri, 16 Sep 2005 09:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627821#M71753</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-09-16T09:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627822#M71754</link>
      <description>Samba uses one process per client connection so I don't think you need high quotas the way you do for a multi-threaded daemon.  The NMBD process is lanman browser function and isn't in the critical path.  The advanced server uses special file system features to speed up access, I don't know if they are available for the Samba port.</description>
      <pubDate>Fri, 16 Sep 2005 09:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627822#M71754</guid>
      <dc:creator>David Jones_21</dc:creator>
      <dc:date>2005-09-16T09:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627823#M71755</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;The first run ($ run/detached...) creates a process where quotas are set, the second run ($ nmbd "-d1" 'opt') runs an image which takes quotas from the owner process.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Fri, 16 Sep 2005 09:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627823#M71755</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-09-16T09:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627824#M71756</link>
      <description>Volker,&lt;BR /&gt;BIO and DIO limit are just an example. I'm comparing pathwork server and samba daemon. For both values, Pathwork set value = 32767. You are right, these worth may be dangerous! However I need to supply big values for some quotas.&lt;BR /&gt; &lt;BR /&gt;David,&lt;BR /&gt;thank you for your precious information. This difference can help me to understan why server runs slow.&lt;BR /&gt; &lt;BR /&gt;Bojan,&lt;BR /&gt;I know it. Question is: how can I supply big quotas?&lt;BR /&gt; &lt;BR /&gt;Just for your knowlege, setting prio=13 makes server more quicker but not enough for good use.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2005 10:20:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627824#M71756</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-16T10:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627825#M71757</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;David is right. NMBD is lanman browser. The real work is made by the service SMBD which is defined in TCPIP.&lt;BR /&gt;The process changes the owner to its VMS user. I dont know how is this done (a quick look to the sources was not succesful ;)&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Fri, 16 Sep 2005 10:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627825#M71757</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-09-16T10:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627826#M71758</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;The main limitation, at moment, is server too slow&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Just arbitrarily changing process quotas would not make anything faster, if the process does not even deplete those quotas during operations.&lt;BR /&gt;&lt;BR /&gt;I've played with SAMBA V2.2.8 recently and the file copy performance was acceptable when compared with FTP. Directory lookup and browsing large directories is another story...&lt;BR /&gt;&lt;BR /&gt;Could you elaborate which operation you found to be 'too slow' ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 17 Sep 2005 01:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627826#M71758</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-09-17T01:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627827#M71759</link>
      <description>Volker,&lt;BR /&gt;I'm playing with Samba 2.2.8 too and comparing with Advanced Server.&lt;BR /&gt;You are right about file copy but browsing, navigation and first open of share are not acceptable.&lt;BR /&gt;I'm also trying working office application (like word or excel) directly into shared directory.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Sep 2005 09:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627827#M71759</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-17T09:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627828#M71760</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;there are 2 mechanisms in SAMBA, which cause a performance penalty when handling/browsing/opening large directories:&lt;BR /&gt;&lt;BR /&gt;- when accessing a file in any directory for the first time, SAMBA will fill it's directory cache, building a simple list of all file names within this directory. This list is used to later speed up wildcard accesses in that directory. Depending on the no. of files in the directory, building the file name list can take a while.&lt;BR /&gt;&lt;BR /&gt;- when browsing a directory, SAMBA also fills it's stat (file) cache. As a Windows directory entry expects information like file access dates, file size etc. in addition to just the file name, this information needs to be obtained from the individual file headers in OpenVMS - again a somewhat IO intensive operation under OpenVMS.&lt;BR /&gt;&lt;BR /&gt;Once the stat (file) cache is filled, things are getting a little better. But there are 2 problems with SAMBA V2.2.8 here: &lt;BR /&gt;&lt;BR /&gt;* the stat cache handling of the directory tree is broken. This will cause the same file to be entered twice in different directories cache entries (once with /000000 included and once without). This causes the stat cache to not become effective starting the 3rd access to the directory. This is fixed in SAMBA V2.2.12.&lt;BR /&gt;&lt;BR /&gt;* the no. of entries in the stat cache is limited to 16k files per directory. Once your directory grows beyond that no. of files, things get worse...&lt;BR /&gt;&lt;BR /&gt;If you can keep the directory size small, SAMBA works quite well.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 17 Sep 2005 12:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627828#M71760</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-09-17T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627829#M71761</link>
      <description>When you get it all done, it would be nice to see/hear a detailed how to. There isn't much info on SAMBA on VMS, and the only things that I have heard are a) that it is tricky to get going, and b) there hasn't been a new release for some time. &lt;BR /&gt;&lt;BR /&gt;q&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Sep 2005 12:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627829#M71761</guid>
      <dc:creator>Peter Quodling</dc:creator>
      <dc:date>2005-09-17T12:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627830#M71762</link>
      <description>Volker,&lt;BR /&gt;your explanation is clear. I have to modify source of Samba to solve. You refer to V2.2.12 but I don't find that version of Samba on VMS. Where can I find it?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Sep 2005 05:26:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627830#M71762</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-19T05:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627831#M71763</link>
      <description>Antonio,&lt;BR /&gt;&lt;BR /&gt;I had received V2.2.12 from HP directly for a certain project. It seems to have once been made available by John M.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://eisner.encompasserve.org/~malmberg/samba/" target="_blank"&gt;http://eisner.encompasserve.org/~malmberg/samba/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but it's not there anymore. Maybe you can ask John...&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 19 Sep 2005 05:39:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627831#M71763</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-09-19T05:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627832#M71764</link>
      <description>Volker,&lt;BR /&gt;I write to John M. because I'm pleased to participate on development of new version of Samba.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Sep 2005 12:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627832#M71764</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-19T12:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627833#M71765</link>
      <description>I expect somewhere in hp someone is working on Samba V3 on VMS. Parhaps John knows more.</description>
      <pubDate>Tue, 20 Sep 2005 03:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627833#M71765</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-09-20T03:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627834#M71766</link>
      <description>Ian,&lt;BR /&gt;me too.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 07:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627834#M71766</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-20T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Quotas of Samba process</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627835#M71767</link>
      <description>Ian,&lt;BR /&gt;off topic ...&lt;BR /&gt;I'm pleased to add some your link on new Italian OpenVMS comunity in section Friends of VMS.&lt;BR /&gt;If you like it send me &lt;BR /&gt;antoniov (at) shs-av.it&lt;BR /&gt;your favorite link&lt;BR /&gt; &lt;BR /&gt;Antonio&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 07:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/quotas-of-samba-process/m-p/3627835#M71767</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-09-20T07:56:38Z</dc:date>
    </item>
  </channel>
</rss>

