Hi! Looking for a bit of help! I have been using Linux for a while as a hobby, and can get around it pretty quickly. I have created a Gentoo Samba server and set it as PDC with roaming profiles (there are several other services running on the server as well). I can login with my XP machines and the profile is downloaded to the machine but it is VERY VERY VERY slow. After a login is started, there is a blank blue screen (~4min), then the dialog that says "Loading your personal settings..."(~7min), and another that says "Applying your personal settings..."(~6min). The whole login process takes ~15 minutes with any user. The server is running an AMD64 2GHz and the client is AMD Athlon 1.32GHz. I have used these clients on a Windows 2003 Server with AD and roaming profiles before and it didn't take anywhere near this amount of time (usually logon was <1Min).All network drives are mapped properly (home and other shares through login.bat) Logoff seems to only take ~30sec and IS storing the information to the server correctly. I have searched and searched through Samba docs and Google, and I just can't find anyone that has a viable solution for me. Does anyone have a suggestion or solution? My smb.conf file is as follows: #======================= Global Settings ====================================[global] passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \ "*Password changed*" time server = yes hosts allow = 192.168.0.0/24 127.0.0.0/8 interfaces = lo eth0 bind interfaces only = yes netbios name = power workgroup = KochHome default = Public local master = yes os level = 65 security = domain hide unreadable = yes map to guest = Never domain master = yes null passwords = no hide dot files = yes encrypt passwords = yes passdb backend = tdbsam wins support = true server string = PDC max log size = 50 log file = /var/log/samba/log.%m add group script = /usr/sbin/groupadd %g add user script = /usr/sbin/useradd -m %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u delete user script = /usr/sbin/userdel -r %u delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u passwd program = /usr/bin/passwd %u socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY domain logons = yes logon script = login.bat logon drive = U: logon path = \\%L\%U\windowsprofile #============================ Share Definitions =============================[homes] comment = Home Directory for %u browseable = no valid users = %S read only = no guest ok = no create mask = 0600 directory mask = 0700 [netlogon] path = /var/lib/samba/netlogon guest ok = no read only = yes browseable = no I removed several other shares because I figured that information was not required. Thanks -Greg
Hi, Greg Koch wrote:> Hi! > > Looking for a bit of help! > > I have been using Linux for a while as a hobby, and can get around it > pretty quickly. I have created a Gentoo Samba server and set it as > PDC with roaming profiles (there are several other services running on > the server as well). I can login with my XP machines and the profile > is downloaded to the machine but it is VERY VERY VERY slow. After a > login is started, there is a blank blue screen (~4min), then the > dialog that says "Loading your personal settings..."(~7min), and > another that says "Applying your personal settings..."(~6min). The > whole login process takes ~15 minutes with any user. The server is > running an AMD64 2GHz and the client is AMD Athlon 1.32GHz. I have > used these clients on a Windows 2003 Server with AD and roaming > profiles before and it didn't take anywhere near this amount of time > (usually logon was <1Min).All network drives are mapped properly (home > and other shares through login.bat) Logoff seems to only take ~30sec > and IS storing the information to the server correctly. > > I have searched and searched through Samba docs and Google, and I just > can't find anyone that has a viable solution for me.If you use roaming profiles, there are a lot of problem if you have a lot of things in your personal document and settings of windows or on your desktop because the profile contain all. The only solution is to avoid to restore same directory :) regards Michael
You could try moving My Documents to a mapped drive on the server, this will speed up log on and log off if there a lot of files in My Documents within a given profile. The easiest way is just to drag it to the mapped drive then log off and on again, then after confirming that you've actually had success, remove the old My Docs folder from the profile. Otherwise it can be done in registry editor on XP when logged in as the user: My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders There is probably a way to script this but I don't know how. It seems to speed things up for some of my users with more data in My Docs Andreas Greg Koch wrote:> Hi! > > Looking for a bit of help! > > I have been using Linux for a while as a hobby, and can get around it > pretty quickly. I have created a Gentoo Samba server and set it as > PDC with roaming profiles (there are several other services running on > the server as well). I can login with my XP machines and the profile > is downloaded to the machine but it is VERY VERY VERY slow. After a > login is started, there is a blank blue screen (~4min), then the > dialog that says "Loading your personal settings..."(~7min), and > another that says "Applying your personal settings..."(~6min). The > whole login process takes ~15 minutes with any user. The server is > running an AMD64 2GHz and the client is AMD Athlon 1.32GHz. I have > used these clients on a Windows 2003 Server with AD and roaming > profiles before and it didn't take anywhere near this amount of time > (usually logon was <1Min).All network drives are mapped properly (home > and other shares through login.bat) Logoff seems to only take ~30sec > and IS storing the information to the server correctly. > > I have searched and searched through Samba docs and Google, and I just > can't find anyone that has a viable solution for me. > > Does anyone have a suggestion or solution? > > My smb.conf file is as follows: > #======================= Global Settings > ====================================> [global] > passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r > \ "*Password changed*" > time server = yes > hosts allow = 192.168.0.0/24 127.0.0.0/8 > interfaces = lo eth0 > bind interfaces only = yes > netbios name = power > workgroup = KochHome > default = Public > local master = yes > os level = 65 > security = domain > hide unreadable = yes > map to guest = Never > domain master = yes > null passwords = no > hide dot files = yes > encrypt passwords = yes > passdb backend = tdbsam > wins support = true > server string = PDC > max log size = 50 > log file = /var/log/samba/log.%m > add group script = /usr/sbin/groupadd %g > add user script = /usr/sbin/useradd -m %u > add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u > delete user script = /usr/sbin/userdel -r %u > delete group script = /usr/sbin/groupdel %g > add user to group script = /usr/sbin/usermod -G %g %u > passwd program = /usr/bin/passwd %u > socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY > domain logons = yes > logon script = login.bat > logon drive = U: > logon path = \\%L\%U\windowsprofile > > #============================ Share Definitions > =============================> [homes] > comment = Home Directory for %u > browseable = no > valid users = %S > read only = no > guest ok = no > create mask = 0600 > directory mask = 0700 > [netlogon] > path = /var/lib/samba/netlogon > guest ok = no > read only = yes > browseable = no > > I removed several other shares because I figured that information was > not required. > > Thanks > > > -Greg
how big are the profiles? what speeds are the NICs in the server and client PCs operating at?
try to increase the log level and investigate the logs, maybe there is some name resolution problem, but think of the log level, if it is AFAIK 3 or higher every log entry will be flushed, so the speed decreases dramatically regards odi Am Dienstag, 27. Mai 2008 10:41:22 schrieb Greg Koch:> Hi! > > Looking for a bit of help! > > I have been using Linux for a while as a hobby, and can get around it > pretty quickly. I have created a Gentoo Samba server and set it as PDC > with roaming profiles (there are several other services running on the > server as well). I can login with my XP machines and the profile is > downloaded to the machine but it is VERY VERY VERY slow. After a login > is started, there is a blank blue screen (~4min), then the dialog that > says "Loading your personal settings..."(~7min), and another that says > "Applying your personal settings..."(~6min). The whole login process > takes ~15 minutes with any user. The server is running an AMD64 2GHz > and the client is AMD Athlon 1.32GHz. I have used these clients on a > Windows 2003 Server with AD and roaming profiles before and it didn't > take anywhere near this amount of time (usually logon was <1Min).All > network drives are mapped properly (home and other shares through > login.bat) Logoff seems to only take ~30sec and IS storing the > information to the server correctly. > > I have searched and searched through Samba docs and Google, and I just > can't find anyone that has a viable solution for me. > > Does anyone have a suggestion or solution? > > My smb.conf file is as follows: > #======================= Global Settings > ====================================> [global] > passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r > \ "*Password changed*" > time server = yes > hosts allow = 192.168.0.0/24 127.0.0.0/8 > interfaces = lo eth0 > bind interfaces only = yes > netbios name = power > workgroup = KochHome > default = Public > local master = yes > os level = 65 > security = domain > hide unreadable = yes > map to guest = Never > domain master = yes > null passwords = no > hide dot files = yes > encrypt passwords = yes > passdb backend = tdbsam > wins support = true > server string = PDC > max log size = 50 > log file = /var/log/samba/log.%m > add group script = /usr/sbin/groupadd %g > add user script = /usr/sbin/useradd -m %u > add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u > delete user script = /usr/sbin/userdel -r %u > delete group script = /usr/sbin/groupdel %g > add user to group script = /usr/sbin/usermod -G %g %u > passwd program = /usr/bin/passwd %u > socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY > domain logons = yes > logon script = login.bat > logon drive = U: > logon path = \\%L\%U\windowsprofile > > #============================ Share Definitions > =============================> [homes] > comment = Home Directory for %u > browseable = no > valid users = %S > read only = no > guest ok = no > create mask = 0600 > directory mask = 0700 > > [netlogon] > path = /var/lib/samba/netlogon > guest ok = no > read only = yes > browseable = no > > I removed several other shares because I figured that information was > not required. > > Thanks > > > -Greg
The profiles are 1.1MB (Just the default files and a few other things to test with). The server is 1000MB and the clients are 100MB. This is why it has baffled me so much! Adam Williams wrote:> how big are the profiles? what speeds are the NICs in the server and > client PCs operating at? >
Greg, this is old, but I found it quite useful. http://www.css.taylor.edu/~nehresma/samba.html We've had two problems with roaming profiles. The first is that staff members store all kinds of stuff in their profile. The above document, about halfway down, "Profile changes" helped out here greatly. The second problem that we had was Windows XP offline file synchronization. You can find that in Start -> All Programs -> Accessories -> Synchronization. Our systems defaulted to turning it on. Manually going in and turning it all off (use the "setup" button too, more stuff there) made a dramatic difference. Good Luck. Gar Greg Koch wrote:> Hi! > > Looking for a bit of help! > > I have been using Linux for a while as a hobby, and can get around it > pretty quickly. I have created a Gentoo Samba server and set it as > PDC with roaming profiles (there are several other services running on > the server as well). I can login with my XP machines and the profile > is downloaded to the machine but it is VERY VERY VERY slow. After a > login is started, there is a blank blue screen (~4min), then the > dialog that says "Loading your personal settings..."(~7min), and > another that says "Applying your personal settings..."(~6min). The > whole login process takes ~15 minutes with any user. The server is > running an AMD64 2GHz and the client is AMD Athlon 1.32GHz. I have > used these clients on a Windows 2003 Server with AD and roaming > profiles before and it didn't take anywhere near this amount of time > (usually logon was <1Min).All network drives are mapped properly (home > and other shares through login.bat) Logoff seems to only take ~30sec > and IS storing the information to the server correctly. > > I have searched and searched through Samba docs and Google, and I just > can't find anyone that has a viable solution for me. > > Does anyone have a suggestion or solution? >
Also try to set you nic fixed speeds. and your profile is 1.1. MB ?? thats very very small. a normal profile is about 10-25 Mb. Louis>-----Oorspronkelijk bericht----- >Van: samba-bounces+belle=bazuin.nl@lists.samba.org >[mailto:samba-bounces+belle=bazuin.nl@lists.samba.org] Namens Greg Koch >Verzonden: dinsdag 27 mei 2008 17:40 >Aan: Adam Williams >CC: samba@lists.samba.org >Onderwerp: Re: [Samba] Roaming Profiles Load Very Slowly > >The profiles are 1.1MB (Just the default files and a few other >things to >test with). The server is 1000MB and the clients are 100MB. This is >why it has baffled me so much! > >Adam Williams wrote: >> how big are the profiles? what speeds are the NICs in the >server and >> client PCs operating at? >> >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba >
Hi, Java 1.4 and 1.6 are capable of disabling the java cache. In windows configuation panel, goto Java. On the Tab General, click below Temparary Internet Settings on "Settings" here you can disable the caching. Java 1.5 ( aka 5 ) does not have this option. Louis>-----Oorspronkelijk bericht----- >Van: samba-bounces+belle=bazuin.nl@lists.samba.org >[mailto:samba-bounces+belle=bazuin.nl@lists.samba.org] Namens >Adam Williams >Verzonden: woensdag 28 mei 2008 14:49 >Aan: beheer@bazuin.nl >CC: samba@lists.samba.org >Onderwerp: Re: [Samba] Roaming Profiles Load Very Slowly > >how do you disable java caching? > >L.P.H. van Belle wrote: >> I agree, roming is very slow with lots of small files. >> >> a tip i can give everybody, disable java caching. >> i had a user with 6500+ files in java cache dir which made >> loggin in very slow. >> >> Louis >> >> >> > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba >