- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Quotas of Samba process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 12:59 AM
09-16-2005 12:59 AM
The main limitation, at moment, is server too slow. I compared Advanced Server and Samba and discovered some quota differences.
For example, Advanced Server daemon run with buffered and direct I/O set to 32767.
It tryed run Samba daemon with same quotas but I can't do it.
The samba script is:
$ run/detached -
/input=samba_exe:nmbd_startup.com -
/output=samba_root:[var]nmbd_startup.log -
/uic=system
/process_name=NMBD -
sys$system:loginout.exe
In this case, NMBD use PQL_D* values.
If I add /authorize, process use value in SYSAUF.
So I have to select among some solution, but I'm not about best praticse.
I'm intrigued by your ideas.
TIA
Antonio Vigliotti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:15 AM
09-16-2005 01:15 AM
Re: Quotas of Samba process
Just a warning, if /AUTHORIZE is specified then /UIC is ignored.
FWIW.
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:24 AM
09-16-2005 01:24 AM
Re: Quotas of Samba process
I start samba with SYSTEM accont, so it's no problem. However, I didn't remember this limitation.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 01:42 AM
09-16-2005 01:42 AM
Re: Quotas of Samba process
RUN/AST_LIMIT=quota/BUFFER_LIMIT=quota
etc
/AUTHORIZE says use the quotas from the username (the process owner i.e. you)
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 02:35 AM
09-16-2005 02:35 AM
Re: Quotas of Samba process
let me to be more specific.
I modified run command with /io_dir=/io_buf and other values but this didn't work.
Looked more carefully at code and saw inside nmbd_startup there is another run.
This is the code:
$ nmbd :== $samba_root:[bin]nmbd
$ opt = f$trnlnm("SAMBA_NMBD_OPTIONS")
$ nmbd "-d1" 'opt'
How you can see, nmbd receive some qualifier so i can't use run with usually qualifiers.
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.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 02:45 AM
09-16-2005 02:45 AM
Re: Quotas of Samba process
do you really believe that running NMBD with /IO_BUFFER or /IO_DIRECT=32767 will do any good ???
These quotas limit the number of CURRENTLY OUTSTANDING buffered or direct IOs for the process.
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=
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 02:52 AM
09-16-2005 02:52 AM
Re: Quotas of Samba process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 02:53 AM
09-16-2005 02:53 AM
Re: Quotas of Samba process
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.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 03:20 AM
09-16-2005 03:20 AM
Re: Quotas of Samba process
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.
David,
thank you for your precious information. This difference can help me to understan why server runs slow.
Bojan,
I know it. Question is: how can I supply big quotas?
Just for your knowlege, setting prio=13 makes server more quicker but not enough for good use.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 03:34 AM
09-16-2005 03:34 AM
Re: Quotas of Samba process
David is right. NMBD is lanman browser. The real work is made by the service SMBD which is defined in TCPIP.
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 ;)
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2005 06:32 PM
09-16-2005 06:32 PM
Re: Quotas of Samba process
The main limitation, at moment, is server too slow
Just arbitrarily changing process quotas would not make anything faster, if the process does not even deplete those quotas during operations.
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...
Could you elaborate which operation you found to be 'too slow' ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 02:54 AM
09-17-2005 02:54 AM
Re: Quotas of Samba process
I'm playing with Samba 2.2.8 too and comparing with Advanced Server.
You are right about file copy but browsing, navigation and first open of share are not acceptable.
I'm also trying working office application (like word or excel) directly into shared directory.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 05:08 AM
09-17-2005 05:08 AM
Re: Quotas of Samba process
there are 2 mechanisms in SAMBA, which cause a performance penalty when handling/browsing/opening large directories:
- 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.
- 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.
Once the stat (file) cache is filled, things are getting a little better. But there are 2 problems with SAMBA V2.2.8 here:
* 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.
* 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...
If you can keep the directory size small, SAMBA works quite well.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2005 05:58 AM
09-17-2005 05:58 AM
Re: Quotas of Samba process
q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 10:26 PM
09-18-2005 10:26 PM
Re: Quotas of Samba process
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?
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 10:39 PM
09-18-2005 10:39 PM
Re: Quotas of Samba process
I had received V2.2.12 from HP directly for a certain project. It seems to have once been made available by John M.
http://eisner.encompasserve.org/~malmberg/samba/
but it's not there anymore. Maybe you can ask John...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 05:04 AM
09-19-2005 05:04 AM
Re: Quotas of Samba process
I write to John M. because I'm pleased to participate on development of new version of Samba.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 08:34 PM
09-19-2005 08:34 PM
Re: Quotas of Samba process
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 12:28 AM
09-20-2005 12:28 AM
Re: Quotas of Samba process
me too.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 12:56 AM
09-20-2005 12:56 AM
Re: Quotas of Samba process
off topic ...
I'm pleased to add some your link on new Italian OpenVMS comunity in section Friends of VMS.
If you like it send me
antoniov (at) shs-av.it
your favorite link
Antonio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 08:08 AM
09-26-2005 08:08 AM
Re: Quotas of Samba process
http://h71000.www7.hp.com/openvms/roadmap/openvms_roadmaps_files/openvms_roadmaps.pdf
See page 38
- Duane Sadowski
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2005 05:37 PM
09-26-2005 05:37 PM
Re: Quotas of Samba process
q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 12:30 AM
10-13-2005 12:30 AM
Solutiona SAMBA V2.2.12 source kit for OpenVMS has now re-appeared on John Malmberg's WEB site:
http://eisner.encompasserve.org/~malmberg/samba/
SAMBA_2_2_12-V82-SRC-20041031.ZIP
This version should build and run fine on OpenVMS Alpha and Itanium up to V8.2.
Volker.