Re: [Samba] Samba just Slow with AutoCad?
When you didn't , try unplug the network cable from the switch. After them this delaying problem will not occur. It sounds like a madness, butit works. Of course you can't print, but the dialog box opens immediately. Where is then the problem? You always have the posibility to setup your printer like a it would print to lpt1 and later change the print port to your samba server queue. You will loose the posibility to see who is in the queue before you, but the delays are gone. Choose your poison. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
We use AutoCAD 2000, 2002, 2004 with RH E3.0 and Samba 3.0.2-6.3E with no delays in saving or printing and have achieved better performance than the previous W2k server. With a little more information we might be able to assist in finding the bottleneck. Terry AutoCad 2002 seems to work very very fast, but only one workstation in the office has 2002 installed. Can you tell me what kernel you are using and which filesystems you have on your shares? Are you using ReiserFS? Thanks, Brian. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
Hi. Does your new system use ReiserFS? When these ~20 second delays happen, can you see if there's a spike of System CPU time useage on the server? I've not heard of it happening over a network share, but some poorly behaved applications can trigger a 'feature', (actually, a performance optimization) with ReiserFS on Newer (2.6) kernels that will make the kernel spin it's wheels for a number of seconds. If this might be the case for you, you can disable it by mounting a ReiserFS volume with a nolargeio=1 option. (If you want to test this, it appears to to be safe to remount. That is, mount /home -o remount,nolargeio=1 As an example.) On Tue, Jun 08, 2004 at 12:26:25PM -0600, Brian Merrell wrote: I just came across some very interesting information. We samba running on an old HP PIII 900. I just plugged it back in and we opened some backup files we had on it. It works just fine with AutoCad. Linux gatekeeper 2.4.26 #5 Mon Apr 19 07:15:24 MDT 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux Samba Version 2.2.8a Our new machine is a Dual Opteron machine. Linux fileserv 2.6.5-gentoo-r1 #3 Sat May 29 13:32:03 MDT 2004 x86_64 5 GNU/Linux Samba Version Version 3.0.2a The difference is that I need the hard drive space on our new server versus the 40 gigs we have on the older machine. The smb.conf file on the old machine is very very basic: [global] workgroup = TRISTATE security = SHARE [backup] path = /usr/backup writeable = Yes guest ok = Yes - Original Message - From: Brian Merrell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:07 PM Subject: Re: [Samba] Samba just Slow with AutoCad? Terry, Thanks a lot for your reply. We're really trying to solve this problem. Brian, 1. Which release of AutoCAD are you using? Autodesk Land Desktop 2004 2004.0.0 Service Pack 1 2. Are the support files for AutoCAD on the client or the server? On the clients. 3. Are you using cups? No. 4. Is it true that your plotter settings are not being saved with the drawing? Was this true when you were using a windows server? They are being saved with the drawings. They were also being saved with the drawings on the windows server. (the windows server was actually just another client that shared it's HD). 5. Normally when AutoCAD is opening the print dialog box in an existing drawing, it is trying to find the printer that was used by the last session of Autocad. If it can't find that printer, it produces the printer none. Are you loading your printers from the server such that each client has the identical printer name? First of all, you're right. The print dialog only produces the printer none when it's a new drawing. Otherwise, it saves the print settings. But we still experience a delay independant of whether we are printing from a new drawing or an existing one. The printers aren't on the server, and we do not have identical printer name. 6. Are the network directories being used by AutoCAD the same as being used by the other programs that don't exhibit the long save times? No. AutoCad drawings are stored on a seperate harddrive and a different directory. However, after reading this e-mail I moved a TIF image to the autocad directory and opened them from Adobe Photoshop. I then modified and saved the drawing and there was no delay. There was also no delay for opening a print dialog. The problem continues to be only with AutoCad. We use AutoCAD 2000, 2002, 2004 with RH E3.0 and Samba 3.0.2-6.3E with no delays in saving or printing and have achieved better performance than the previous W2k server. With a little more information we might be able to assist in finding the bottleneck. Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Turner Sent: Tuesday, June 08, 2004 10:45 AM To: 'Brian Merrell'; [EMAIL PROTECTED] Subject: RE: [Samba] Samba just Slow with AutoCad? Brian I might suggest a couple of setting changes on your XP machines: 1) Open services and stop/disable Web Client 2) Open windows explorer, go to toolsfolder options, click the View tab, and uncheck the Automatically search for network folders and printers (I'm assuming Windows XP Professional on these settings) Restart and try your printers again. Bob -Original Message- From: Brian Merrell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 9:50 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Samba just Slow with AutoCad? Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed
Re: [Samba] Samba just Slow with AutoCad?
Yes I am user reiserFS on the AutoCad Shares (Jerry, are you?) The older machine is running ext3. The CPU usage goes up, but I definately wouldn't call it a spike. It goes to about 1% which is probably normal. I did use the nolargeio=1 option and it did increase performance.. but.. I tried timing the time it takes to save. It takes the older machine about 1.25 seconds to save a 606KB drawing and it takes ~3 seconds for the new fancy machine. Could this be due to ReiserFS? - Original Message - From: Rashkae [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 7:56 AM Subject: Re: [Samba] Samba just Slow with AutoCad? Hi. Does your new system use ReiserFS? When these ~20 second delays happen, can you see if there's a spike of System CPU time useage on the server? I've not heard of it happening over a network share, but some poorly behaved applications can trigger a 'feature', (actually, a performance optimization) with ReiserFS on Newer (2.6) kernels that will make the kernel spin it's wheels for a number of seconds. If this might be the case for you, you can disable it by mounting a ReiserFS volume with a nolargeio=1 option. (If you want to test this, it appears to to be safe to remount. That is, mount /home -o remount,nolargeio=1 As an example.) On Tue, Jun 08, 2004 at 12:26:25PM -0600, Brian Merrell wrote: I just came across some very interesting information. We samba running on an old HP PIII 900. I just plugged it back in and we opened some backup files we had on it. It works just fine with AutoCad. Linux gatekeeper 2.4.26 #5 Mon Apr 19 07:15:24 MDT 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux Samba Version 2.2.8a Our new machine is a Dual Opteron machine. Linux fileserv 2.6.5-gentoo-r1 #3 Sat May 29 13:32:03 MDT 2004 x86_64 5 GNU/Linux Samba Version Version 3.0.2a The difference is that I need the hard drive space on our new server versus the 40 gigs we have on the older machine. The smb.conf file on the old machine is very very basic: [global] workgroup = TRISTATE security = SHARE [backup] path = /usr/backup writeable = Yes guest ok = Yes - Original Message - From: Brian Merrell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:07 PM Subject: Re: [Samba] Samba just Slow with AutoCad? Terry, Thanks a lot for your reply. We're really trying to solve this problem. Brian, 1. Which release of AutoCAD are you using? Autodesk Land Desktop 2004 2004.0.0 Service Pack 1 2. Are the support files for AutoCAD on the client or the server? On the clients. 3. Are you using cups? No. 4. Is it true that your plotter settings are not being saved with the drawing? Was this true when you were using a windows server? They are being saved with the drawings. They were also being saved with the drawings on the windows server. (the windows server was actually just another client that shared it's HD). 5. Normally when AutoCAD is opening the print dialog box in an existing drawing, it is trying to find the printer that was used by the last session of Autocad. If it can't find that printer, it produces the printer none. Are you loading your printers from the server such that each client has the identical printer name? First of all, you're right. The print dialog only produces the printer none when it's a new drawing. Otherwise, it saves the print settings. But we still experience a delay independant of whether we are printing from a new drawing or an existing one. The printers aren't on the server, and we do not have identical printer name. 6. Are the network directories being used by AutoCAD the same as being used by the other programs that don't exhibit the long save times? No. AutoCad drawings are stored on a seperate harddrive and a different directory. However, after reading this e-mail I moved a TIF image to the autocad directory and opened them from Adobe Photoshop. I then modified and saved the drawing and there was no delay. There was also no delay for opening a print dialog. The problem continues to be only with AutoCad. We use AutoCAD 2000, 2002, 2004 with RH E3.0 and Samba 3.0.2-6.3E with no delays in saving or printing and have achieved better performance than the previous W2k server. With a little more information we might be able to assist in finding the bottleneck. Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Turner Sent: Tuesday, June 08, 2004 10:45 AM To: 'Brian Merrell'; [EMAIL PROTECTED] Subject: RE: [Samba] Samba just Slow
Re: [Samba] Samba just Slow with AutoCad?
The time it takes to save seems to get worse the longer drawing is open and being used. We're already back to seeing 10 second saves this morning. I will probably try using ext3 instead of reiserFS this weekend, unless someone out there has AutoCad working fine with reiserFS this is my best guess as to what the problem is. - Original Message - From: Brian Merrell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 9:09 AM Subject: Re: [Samba] Samba just Slow with AutoCad? Yes I am user reiserFS on the AutoCad Shares (Jerry, are you?) The older machine is running ext3. The CPU usage goes up, but I definately wouldn't call it a spike. It goes to about 1% which is probably normal. I did use the nolargeio=1 option and it did increase performance.. but.. I tried timing the time it takes to save. It takes the older machine about 1.25 seconds to save a 606KB drawing and it takes ~3 seconds for the new fancy machine. Could this be due to ReiserFS? - Original Message - From: Rashkae [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 7:56 AM Subject: Re: [Samba] Samba just Slow with AutoCad? Hi. Does your new system use ReiserFS? When these ~20 second delays happen, can you see if there's a spike of System CPU time useage on the server? I've not heard of it happening over a network share, but some poorly behaved applications can trigger a 'feature', (actually, a performance optimization) with ReiserFS on Newer (2.6) kernels that will make the kernel spin it's wheels for a number of seconds. If this might be the case for you, you can disable it by mounting a ReiserFS volume with a nolargeio=1 option. (If you want to test this, it appears to to be safe to remount. That is, mount /home -o remount,nolargeio=1 As an example.) On Tue, Jun 08, 2004 at 12:26:25PM -0600, Brian Merrell wrote: I just came across some very interesting information. We samba running on an old HP PIII 900. I just plugged it back in and we opened some backup files we had on it. It works just fine with AutoCad. Linux gatekeeper 2.4.26 #5 Mon Apr 19 07:15:24 MDT 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux Samba Version 2.2.8a Our new machine is a Dual Opteron machine. Linux fileserv 2.6.5-gentoo-r1 #3 Sat May 29 13:32:03 MDT 2004 x86_64 5 GNU/Linux Samba Version Version 3.0.2a The difference is that I need the hard drive space on our new server versus the 40 gigs we have on the older machine. The smb.conf file on the old machine is very very basic: [global] workgroup = TRISTATE security = SHARE [backup] path = /usr/backup writeable = Yes guest ok = Yes - Original Message - From: Brian Merrell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:07 PM Subject: Re: [Samba] Samba just Slow with AutoCad? Terry, Thanks a lot for your reply. We're really trying to solve this problem. Brian, 1. Which release of AutoCAD are you using? Autodesk Land Desktop 2004 2004.0.0 Service Pack 1 2. Are the support files for AutoCAD on the client or the server? On the clients. 3. Are you using cups? No. 4. Is it true that your plotter settings are not being saved with the drawing? Was this true when you were using a windows server? They are being saved with the drawings. They were also being saved with the drawings on the windows server. (the windows server was actually just another client that shared it's HD). 5. Normally when AutoCAD is opening the print dialog box in an existing drawing, it is trying to find the printer that was used by the last session of Autocad. If it can't find that printer, it produces the printer none. Are you loading your printers from the server such that each client has the identical printer name? First of all, you're right. The print dialog only produces the printer none when it's a new drawing. Otherwise, it saves the print settings. But we still experience a delay independant of whether we are printing from a new drawing or an existing one. The printers aren't on the server, and we do not have identical printer name. 6. Are the network directories being used by AutoCAD the same as being used by the other programs that don't exhibit the long save times? No. AutoCad drawings are stored on a seperate harddrive and a different directory. However, after reading this e-mail I moved a TIF image to the autocad directory and opened them from Adobe Photoshop. I then modified and saved the drawing and there was no delay
Re: [Samba] Samba just Slow with AutoCad?
On Wed, Jun 09, 2004 at 10:18:22AM -0600, Brian Merrell wrote: I tried timing the time it takes to save. It takes the older machine about 1.25 seconds to save a 606KB drawing and it takes ~3 seconds for the new fancy machine. Could this be due to ReiserFS? In my experience, and by every benchmark measure I've seen so far, ReiserFS performance is far superior to ext3. The problem I mentioned that gets fixed with nolargeio option is a bizare abnomally. Reportedly, it affects older versions of Kmail and the Linux version of NeverWinter Nights. I thought it would be worth trying. Since that was obviously not the problem, I'll let the real Samba experts take back the floor :) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
No good. It's still amazingly slow. It seems to perform just fine until the user tries to print. There is a huge delay before the print dialog comes up, and when the user tries to save there is another huge delay. The problem seems to be only with AutoCad. - Original Message - From: Jeremy Allison [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 07, 2004 4:33 PM Subject: Re: [Samba] Samba just Slow with AutoCad? On Mon, Jun 07, 2004 at 08:59:34AM -0600, Brian Merrell wrote: Here are some smb.conf's I have tried: (I have tried SO_SNDBUF=8192, and 4096) Remove these two parameters. read prediction = true strict sync = yes Hope this helps, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either (a) a very chatty printer driver, or (b) timeouts when the client tries to ~open a print change notify handle. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8 XYq6cwr7pC7oqkM0DHab0eU= =I89Z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed, the rest do not have firewalls. We are on a 100 mbps ethernet with a 16 port hub. Nothing too fancy. AutoCad is a strange beast. No matter what printer you have set up as your default printer, when you click the print icon or give the print command, AutoCad comes up with no printer selected in the print dialog, and the user selects the plotter each time (although you can save your print selections for each drawing). I have even tried setting the default printer to the PDF distiller and it still takes the same ammount of time for the print dialog to come up. However, I was just tinkering with the print settings and noticed that the print dialog comes up normally some times. i.e. If you click cancel on the print dialog and then hit the print icon again quickly, it seems to come up normally. The other mysterious problem is the time it takes to save. I just saw a guy behind me try to save a drawing and it took about 20 seconds. Something that never happened before when the files were hosted on an older windows XP machine with a heavier load. I'm all out of ideas and really don't want to go back to windows. brian. - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:27 AM Subject: Re: [Samba] Samba just Slow with AutoCad? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either (a) a very chatty printer driver, or (b) timeouts when the client tries to ~open a print change notify handle. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8 XYq6cwr7pC7oqkM0DHab0eU= =I89Z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
Do you have any dns service running? Even if you're running some files based stuff (/etc/hosts) make sure that your address match names. I've had issues where they didn't match up before. Follow me here... a machine running dhcp registered itself in dns with a particular address. That user then was given a static address with a different name. The user didn't change his computer name to match dns when he went to static, and his machine didn't change its dns registration, so it was reporting itself as a name which matched a black hole IP address (because it wasn't sitting there any more). You could see in the logs where the samba spooler service would time out trying to access the dead address/name combo, and eventually windows would just time out and give you the printer box. Brian Merrell wrote: Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed, the rest do not have firewalls. We are on a 100 mbps ethernet with a 16 port hub. Nothing too fancy. AutoCad is a strange beast. No matter what printer you have set up as your default printer, when you click the print icon or give the print command, AutoCad comes up with no printer selected in the print dialog, and the user selects the plotter each time (although you can save your print selections for each drawing). I have even tried setting the default printer to the PDF distiller and it still takes the same ammount of time for the print dialog to come up. However, I was just tinkering with the print settings and noticed that the print dialog comes up normally some times. i.e. If you click cancel on the print dialog and then hit the print icon again quickly, it seems to come up normally. The other mysterious problem is the time it takes to save. I just saw a guy behind me try to save a drawing and it took about 20 seconds. Something that never happened before when the files were hosted on an older windows XP machine with a heavier load. I'm all out of ideas and really don't want to go back to windows. brian. - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:27 AM Subject: Re: [Samba] Samba just Slow with AutoCad? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either (a) a very chatty printer driver, or (b) timeouts when the client tries to ~open a print change notify handle. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8 XYq6cwr7pC7oqkM0DHab0eU= =I89Z -END PGP SIGNATURE- -- Paul Gienger Office:701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.commailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
I am not using Samba's print service. All of the individual workstations have shared printers. We simply use those. - Original Message - From: Paul Gienger [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:59 AM Subject: Re: [Samba] Samba just Slow with AutoCad? Do you have any dns service running? Even if you're running some files based stuff (/etc/hosts) make sure that your address match names. I've had issues where they didn't match up before. Follow me here... a machine running dhcp registered itself in dns with a particular address. That user then was given a static address with a different name. The user didn't change his computer name to match dns when he went to static, and his machine didn't change its dns registration, so it was reporting itself as a name which matched a black hole IP address (because it wasn't sitting there any more). You could see in the logs where the samba spooler service would time out trying to access the dead address/name combo, and eventually windows would just time out and give you the printer box. Brian Merrell wrote: Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed, the rest do not have firewalls. We are on a 100 mbps ethernet with a 16 port hub. Nothing too fancy. AutoCad is a strange beast. No matter what printer you have set up as your default printer, when you click the print icon or give the print command, AutoCad comes up with no printer selected in the print dialog, and the user selects the plotter each time (although you can save your print selections for each drawing). I have even tried setting the default printer to the PDF distiller and it still takes the same ammount of time for the print dialog to come up. However, I was just tinkering with the print settings and noticed that the print dialog comes up normally some times. i.e. If you click cancel on the print dialog and then hit the print icon again quickly, it seems to come up normally. The other mysterious problem is the time it takes to save. I just saw a guy behind me try to save a drawing and it took about 20 seconds. Something that never happened before when the files were hosted on an older windows XP machine with a heavier load. I'm all out of ideas and really don't want to go back to windows. brian. - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:27 AM Subject: Re: [Samba] Samba just Slow with AutoCad? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either (a) a very chatty printer driver, or (b) timeouts when the client tries to ~open a print change notify handle. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8 XYq6cwr7pC7oqkM0DHab0eU= =I89Z -END PGP SIGNATURE- -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Cell: 701-306-6254 Information Systems Consultant Fax: 701-281-1322 URL: www.ae-solutions.commailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba just Slow with AutoCad?
Brian I might suggest a couple of setting changes on your XP machines: 1) Open services and stop/disable Web Client 2) Open windows explorer, go to toolsfolder options, click the View tab, and uncheck the Automatically search for network folders and printers (I'm assuming Windows XP Professional on these settings) Restart and try your printers again. Bob -Original Message- From: Brian Merrell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 9:50 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Samba just Slow with AutoCad? Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed, the rest do not have firewalls. We are on a 100 mbps ethernet with a 16 port hub. Nothing too fancy. AutoCad is a strange beast. No matter what printer you have set up as your default printer, when you click the print icon or give the print command, AutoCad comes up with no printer selected in the print dialog, and the user selects the plotter each time (although you can save your print selections for each drawing). I have even tried setting the default printer to the PDF distiller and it still takes the same ammount of time for the print dialog to come up. However, I was just tinkering with the print settings and noticed that the print dialog comes up normally some times. i.e. If you click cancel on the print dialog and then hit the print icon again quickly, it seems to come up normally. The other mysterious problem is the time it takes to save. I just saw a guy behind me try to save a drawing and it took about 20 seconds. Something that never happened before when the files were hosted on an older windows XP machine with a heavier load. I'm all out of ideas and really don't want to go back to windows. brian. - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:27 AM Subject: Re: [Samba] Samba just Slow with AutoCad? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either (a) a very chatty printer driver, or (b) timeouts when the client tries to ~open a print change notify handle. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8 XYq6cwr7pC7oqkM0DHab0eU= =I89Z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba just Slow with AutoCad?
Brian, 1. Which release of AutoCAD are you using? 2. Are the support files for AutoCAD on the client or the server? 3. Are you using cups? 4. Is it true that your plotter settings are not being saved with the drawing? Was this true when you were using a windows server? 5. Normally when AutoCAD is opening the print dialog box in an existing drawing, it is trying to find the printer that was used by the last session of Autocad. If it can't find that printer, it produces the printer none. Are you loading your printers from the server such that each client has the identical printer name? 6. Are the network directories being used by AutoCAD the same as being used by the other programs that don't exhibit the long save times? We use AutoCAD 2000, 2002, 2004 with RH E3.0 and Samba 3.0.2-6.3E with no delays in saving or printing and have achieved better performance than the previous W2k server. With a little more information we might be able to assist in finding the bottleneck. Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Turner Sent: Tuesday, June 08, 2004 10:45 AM To: 'Brian Merrell'; [EMAIL PROTECTED] Subject: RE: [Samba] Samba just Slow with AutoCad? Brian I might suggest a couple of setting changes on your XP machines: 1) Open services and stop/disable Web Client 2) Open windows explorer, go to toolsfolder options, click the View tab, and uncheck the Automatically search for network folders and printers (I'm assuming Windows XP Professional on these settings) Restart and try your printers again. Bob -Original Message- From: Brian Merrell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 9:50 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Samba just Slow with AutoCad? Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed, the rest do not have firewalls. We are on a 100 mbps ethernet with a 16 port hub. Nothing too fancy. AutoCad is a strange beast. No matter what printer you have set up as your default printer, when you click the print icon or give the print command, AutoCad comes up with no printer selected in the print dialog, and the user selects the plotter each time (although you can save your print selections for each drawing). I have even tried setting the default printer to the PDF distiller and it still takes the same ammount of time for the print dialog to come up. However, I was just tinkering with the print settings and noticed that the print dialog comes up normally some times. i.e. If you click cancel on the print dialog and then hit the print icon again quickly, it seems to come up normally. The other mysterious problem is the time it takes to save. I just saw a guy behind me try to save a drawing and it took about 20 seconds. Something that never happened before when the files were hosted on an older windows XP machine with a heavier load. I'm all out of ideas and really don't want to go back to windows. brian. - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:27 AM Subject: Re: [Samba] Samba just Slow with AutoCad? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either (a) a very chatty printer driver, or (b) timeouts when the client tries to ~open a print change notify handle. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAxcznIR7qMdg1EfYRAicSAKDPzwf0vrIpsTgrln1hFnUlZ/VVOgCfXjs8 XYq6cwr7pC7oqkM0DHab0eU= =I89Z -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http
Re: [Samba] Samba just Slow with AutoCad?
Terry, Thanks a lot for your reply. We're really trying to solve this problem. Brian, 1. Which release of AutoCAD are you using? Autodesk Land Desktop 2004 2004.0.0 Service Pack 1 2. Are the support files for AutoCAD on the client or the server? On the clients. 3. Are you using cups? No. 4. Is it true that your plotter settings are not being saved with the drawing? Was this true when you were using a windows server? They are being saved with the drawings. They were also being saved with the drawings on the windows server. (the windows server was actually just another client that shared it's HD). 5. Normally when AutoCAD is opening the print dialog box in an existing drawing, it is trying to find the printer that was used by the last session of Autocad. If it can't find that printer, it produces the printer none. Are you loading your printers from the server such that each client has the identical printer name? First of all, you're right. The print dialog only produces the printer none when it's a new drawing. Otherwise, it saves the print settings. But we still experience a delay independant of whether we are printing from a new drawing or an existing one. The printers aren't on the server, and we do not have identical printer name. 6. Are the network directories being used by AutoCAD the same as being used by the other programs that don't exhibit the long save times? No. AutoCad drawings are stored on a seperate harddrive and a different directory. However, after reading this e-mail I moved a TIF image to the autocad directory and opened them from Adobe Photoshop. I then modified and saved the drawing and there was no delay. There was also no delay for opening a print dialog. The problem continues to be only with AutoCad. We use AutoCAD 2000, 2002, 2004 with RH E3.0 and Samba 3.0.2-6.3E with no delays in saving or printing and have achieved better performance than the previous W2k server. With a little more information we might be able to assist in finding the bottleneck. Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Turner Sent: Tuesday, June 08, 2004 10:45 AM To: 'Brian Merrell'; [EMAIL PROTECTED] Subject: RE: [Samba] Samba just Slow with AutoCad? Brian I might suggest a couple of setting changes on your XP machines: 1) Open services and stop/disable Web Client 2) Open windows explorer, go to toolsfolder options, click the View tab, and uncheck the Automatically search for network folders and printers (I'm assuming Windows XP Professional on these settings) Restart and try your printers again. Bob -Original Message- From: Brian Merrell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 9:50 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Samba just Slow with AutoCad? Thanks for your response Jerry. Yes. These are all windows XP machines. We have about four printers here in the office (all HP hehe). Only two computers have McAfee Firewalls installed, the rest do not have firewalls. We are on a 100 mbps ethernet with a 16 port hub. Nothing too fancy. AutoCad is a strange beast. No matter what printer you have set up as your default printer, when you click the print icon or give the print command, AutoCad comes up with no printer selected in the print dialog, and the user selects the plotter each time (although you can save your print selections for each drawing). I have even tried setting the default printer to the PDF distiller and it still takes the same ammount of time for the print dialog to come up. However, I was just tinkering with the print settings and noticed that the print dialog comes up normally some times. i.e. If you click cancel on the print dialog and then hit the print icon again quickly, it seems to come up normally. The other mysterious problem is the time it takes to save. I just saw a guy behind me try to save a drawing and it took about 20 seconds. Something that never happened before when the files were hosted on an older windows XP machine with a heavier load. I'm all out of ideas and really don't want to go back to windows. brian. - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Brian Merrell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:27 AM Subject: Re: [Samba] Samba just Slow with AutoCad? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Merrell wrote: | No good. It's still amazingly slow. It seems to perform | just fine until the user tries to print. There is a huge | delay before the print dialog comes up, and when the user | tries to save there is another huge delay. The | problem seems to be only with AutoCad. Sorry I'm late on this thread. Are these XP clients? Do the clients have a active firewall installed. If the delay is only when printing, it is probabl either
RE: [Samba] Samba just Slow with AutoCad?
Make sure your network doesn't have any problems with mismatched duplex settings, excessive collisions, etc. I had this problem once and it crippled anything that tried to copy a large file to the server. It showed up worst with AutoCAD because it generated the most network traffic. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
I would try turning off the Strict sync option. I would also test it with the oplock options disabled as well. On Mon, 7 Jun 2004 08:59:34 -0600, Brian Merrell wrote: This is from 1998: We've had serious performance problems loading AutoCAD R14 .dwg files from a VAResearch VArServer 3000 (dual 400MHz PII, Red Hat 5.0, SAMBA 1.9.17p4, 256MB RAM, 36GB RAID5). The problem is that on first access, trying to read the .dwg file is very, very slow This is from 1999: A friend of mine just had a big problem with Samba, which we eventually solved. The problem was that NT clients did well on a copy in a command prompt, but were terribly slow when opening the same file in Autocad. (Compared to serving the file from an NT server). The solution was well hidden in dejanews and the Samba documentation somewhere; we had to set socket options = SO_SNDBUF=4096 SO_RCVBUF=4096 I have found a couple of other people complaining about performance with AutoCad. I have tried the above fix, and I did not notice any difference whatsoever. I have also tried generic speed fixes like this: http://www.dd.iij4u.or.jp/~okuyamak/Documents/tuning.english.html to no avail. This is very important to our company, and I may be forced to use a windows server if I cannot resolve this problem. We had our files on a Windows XP machine (with worse hardware than we are using now) and it was running quite a bit faster than the Samba server we have now. The speed problem, however, only seems to be with AutoCad. Here are some smb.conf's I have tried: (I have tried SO_SNDBUF=8192, and 4096) [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd oplocks = true ole locking compatibility = no read prediction = true strict sync = yes socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=2920 hosts allow = 127.0.0.1 10.0.0.0/24 hosts deny = 0.0.0.0/0 [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter AND: [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter Any help would be greatly appreciated. Brian Merrell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
Thanks for the response, John. I had two smb.confs listed. The first (the one you're refering too had some fixes that I had found through google). But my original smb.conf was listed below. I will also post it here: [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter - Original Message - From: John Mazza [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 07, 2004 9:05 AM Subject: Re: [Samba] Samba just Slow with AutoCad? I would try turning off the Strict sync option. I would also test it with the oplock options disabled as well. On Mon, 7 Jun 2004 08:59:34 -0600, Brian Merrell wrote: This is from 1998: We've had serious performance problems loading AutoCAD R14 .dwg files from a VAResearch VArServer 3000 (dual 400MHz PII, Red Hat 5.0, SAMBA 1.9.17p4, 256MB RAM, 36GB RAID5). The problem is that on first access, trying to read the .dwg file is very, very slow This is from 1999: A friend of mine just had a big problem with Samba, which we eventually solved. The problem was that NT clients did well on a copy in a command prompt, but were terribly slow when opening the same file in Autocad. (Compared to serving the file from an NT server). The solution was well hidden in dejanews and the Samba documentation somewhere; we had to set socket options = SO_SNDBUF=4096 SO_RCVBUF=4096 I have found a couple of other people complaining about performance with AutoCad. I have tried the above fix, and I did not notice any difference whatsoever. I have also tried generic speed fixes like this: http://www.dd.iij4u.or.jp/~okuyamak/Documents/tuning.english.html to no avail. This is very important to our company, and I may be forced to use a windows server if I cannot resolve this problem. We had our files on a Windows XP machine (with worse hardware than we are using now) and it was running quite a bit faster than the Samba server we have now. The speed problem, however, only seems to be with AutoCad. Here are some smb.conf's I have tried: (I have tried SO_SNDBUF=8192, and 4096) [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd oplocks = true ole locking compatibility = no read prediction = true strict sync = yes socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=2920 hosts allow = 127.0.0.1 10.0.0.0/24 hosts deny = 0.0.0.0/0 [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter AND: [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter Any help would be greatly appreciated. Brian Merrell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
John, (Sorry for the duplicate, but I wanted to send this to the list also) I'm running version 3.0.2a and just for the record, [EMAIL PROTECTED] bean # uname -a Linux fileserv 2.6.5-gentoo-r1 #3 Sat May 29 13:32:03 MDT 2004 x86_64 5 GNU/Linux Thanks, Brian. - Original Message - From: John Mazza [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 07, 2004 9:05 AM Subject: Re: [Samba] Samba just Slow with AutoCad? I would try turning off the Strict sync option. I would also test it with the oplock options disabled as well. On Mon, 7 Jun 2004 08:59:34 -0600, Brian Merrell wrote: This is from 1998: We've had serious performance problems loading AutoCAD R14 .dwg files from a VAResearch VArServer 3000 (dual 400MHz PII, Red Hat 5.0, SAMBA 1.9.17p4, 256MB RAM, 36GB RAID5). The problem is that on first access, trying to read the .dwg file is very, very slow This is from 1999: A friend of mine just had a big problem with Samba, which we eventually solved. The problem was that NT clients did well on a copy in a command prompt, but were terribly slow when opening the same file in Autocad. (Compared to serving the file from an NT server). The solution was well hidden in dejanews and the Samba documentation somewhere; we had to set socket options = SO_SNDBUF=4096 SO_RCVBUF=4096 I have found a couple of other people complaining about performance with AutoCad. I have tried the above fix, and I did not notice any difference whatsoever. I have also tried generic speed fixes like this: http://www.dd.iij4u.or.jp/~okuyamak/Documents/tuning.english.html to no avail. This is very important to our company, and I may be forced to use a windows server if I cannot resolve this problem. We had our files on a Windows XP machine (with worse hardware than we are using now) and it was running quite a bit faster than the Samba server we have now. The speed problem, however, only seems to be with AutoCad. Here are some smb.conf's I have tried: (I have tried SO_SNDBUF=8192, and 4096) [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd oplocks = true ole locking compatibility = no read prediction = true strict sync = yes socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=2920 hosts allow = 127.0.0.1 10.0.0.0/24 hosts deny = 0.0.0.0/0 [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter AND: [global] workgroup = TRISTATE security = USER netbios name = SERVER encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd [Drawings] path = /fileservice/drawings writeable = Yes browseable = Yes read only = No guest ok = No comment = autocad related files and misc files valid users = drafter [Topowork] path = /fileservice/topowork writeable = Yes browseable = Yes read only = No guest ok = No comment = adobe related files valid users = drafter Any help would be greatly appreciated. Brian Merrell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba just Slow with AutoCad?
On Mon, Jun 07, 2004 at 08:59:34AM -0600, Brian Merrell wrote: Here are some smb.conf's I have tried: (I have tried SO_SNDBUF=8192, and 4096) Remove these two parameters. read prediction = true strict sync = yes Hope this helps, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba