1834921 Members
2638 Online
110071 Solutions
New Discussion

Re: Cifsclient tuning.

 
Ivan Azuara
Regular Advisor

Cifsclient tuning.

Hi,

I'm looking for some checklist, white paper or reference, that can help me to verify, if my actual cifsclient configuration is correct.

I have the next scenario:

- hpux box running hpux 11.11/64 bits
- CIFS-Client A.02.01 CIFS Client
CIFS-Development A.02.01.02 HP CIFS Server Source Code Files
CIFS-Server A.02.01.02 HP CIFS Server (Samba) File and Print Ser
vices

Actually i'm mounting a windows 2003 SP1 share on the hpux box (using the cifsclient scheme). This shared directory is used by the web application (has an aleatory read access).

My questions are, if is necessary to configure additional values or kernel parameters for a best performance ?. What other stuffs are important for disaster situations or network disconnections for these shared directories ??.

Thank's in advance.
"Enjoy the life .."
4 REPLIES 4
Rita C Workman
Honored Contributor

Re: Cifsclient tuning.

You wrote "..mounting a windows 2003 SP1 share on the hpux box". So your shared mount is coming from Windows - making Windows the host and HPUX is the client. Even though you mention above HP CIFS Server (Samba).
From HPUX I can't think of what you might tweek, since your the client. Had you done it the other way around, I'd say make sure your nfile is big enough because every CIFS/Samba connection results in several open files for each client. But that shouldn't be the issue here.

Basically, CIFS/Samba is an NFS mount. Whatever your planning on doing for DR you need to look on your host server (Windows) and work it out there first.

Now, if you had made HPUX the host - I'd start by recommending a master smb.conf file (especially if your in a failover environment; make sure you keep a copy of this someplace safe. Make sure your services start at reboot or as part of your package start/stop scripts.

Rgrds,
Rita
Eric Raeburn
Trusted Contributor

Re: Cifsclient tuning.

Ivan,

For network disconnections, no tuning or configuration adjustments are needed. CIFS servers, in particular Windows servers, periodically drop their TCP connections to clients. All viable CIFS clients (including the HP CIFS Client and Windows clients) must have built-in reconnection routines in order to function properly.

-Eric
Ivan Azuara
Regular Advisor

Re: Cifsclient tuning.

thank's for your advices.

In resume, if the shared directory from windows box contents a lot of files, i can't do anything in the unix box for increase the performance ??.

Regards.
"Enjoy the life .."
Eric Raeburn
Trusted Contributor

Re: Cifsclient tuning.

What behavior do you observe that seems to be a performance problem?