[Samba] Samba just Slow with AutoCad?

Brian Merrell beantoo at tristatesurvey.com
Wed Jun 9 15:09:04 GMT 2004


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" <rashkae at tigershaunt.com>
To: "Brian Merrell" <beantoo at tristatesurvey.com>
Cc: <samba at lists.samba.org>
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" <beantoo at tristatesurvey.com>
> > To: <samba at lists.samba.org>
> > 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: samba-bounces+teleiott=tke-companies.com at lists.samba.org
> > > > [mailto:samba-bounces+teleiott=tke-companies.com at lists.samba.org] On
> > > Behalf
> > > > Of Bob Turner
> > > > Sent: Tuesday, June 08, 2004 10:45 AM
> > > > To: 'Brian Merrell'; samba at lists.samba.org
> > > > 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 tools>folder 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:beantoo at tristatesurvey.com]
> > > > Sent: Tuesday, June 08, 2004 9:50 AM
> > > > To: samba at lists.samba.org
> > > > 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" <jerry at samba.org>
> > > > To: "Brian Merrell" <beantoo at tristatesurvey.com>
> > > > Cc: <samba at lists.samba.org>
> > > > 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://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
>



More information about the samba mailing list