Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Paradox > Re: I need help...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 12 Topic 1295 of 1428
Post > Topic >>

Re: I need help in asking the right questions

by "Jim Moseley" <jmose@[EMAIL PROTECTED] > Nov 1, 2007 at 01:43 PM

Craig,

I have gone through this (and still am!), so I understand.  I've resorted
to running the WireShark network monitor (freeware that used to be
Ethereal).
 It shows you all of the network traffic.  You'd be amazed at how much
data
gets ****pped back & forth for the seemingly simplest task.

Since you can narrow down where it is really slow, you can start a
WireShark
trace just before jumping to the next record, then stop the trace.  This
will show all the network usage - could be thousands of records (or
hundreds
of thousands!).  If you page down the trace, look for any large time gaps,
meaning there's a lag somewhere.  Whatever is the last instruction is
probably
causing the delay.

In WireShark's Statistics menu, the Protocol Heirarchy will show you how
much SMB traffic (peer-to-peer file sharing) has happened.  You can also
see a summary of each I/O type, on Statistics | Service Response Time |
SMB.
 

WireShark doesn't do a very good job helping you narrow down which file is
causing all the I/O, though.  I have to ex****t the list to Excel, and
tweak
it there.  I can send instructions if you're interested.


Outside of that, here are my guesses on what you might need to change in
your application to speed it up:

1. You might be constantly reopening tcursors.  Make the tcursor variable
global to the form or library, and use this code instead of just
tc.open(..):
ok = tc.isAssigned() 
if not ok then
   ok = tc.open("myTableName.db")
endif

2. Block sizes on your tables are too large.  When you open a table, you
get 8 pages of data.  If you use 32k or 16k block sizes, that can add up
to lots of wasted bandwidth.

3. You have lots of files in the ":Work:" folder.  This causes long seek
times searching for the right file.

4. You open forms, re****ts, libraries with just the filename and no
extension.
 This can also cause long seek times.  Use this logic instead:
myform = "ABC123"
if not f.open(myForm + ".fdl",winStyleDefault+winStyleHidden) then
   errorClear()
   if not f.open(myForm + ".fsl",winStyleDefault+winStyleHidden) then
      errorShow()
      return
   endif
endif

5. You have obsolete printers & drive mappings.  This can greatly slow
down
a networked application, as Paradox is constantly trying to resolve all
printers
& drives.  Make sure every printer is 'Ready'.


Let me know if you need any help interpreting the WireShark output.  It is
very powerful, but pretty cryptic.

HTH,
Jim Moseley
 




 12 Posts in Topic:
I need help in asking the right questions
"Craig" <cra  2007-11-01 07:05:24 
Re: I need help in asking the right questions
Sundial Services <info  2007-11-01 08:26:17 
Re: I need help in asking the right questions
"Jim Moseley" &  2007-11-01 13:43:11 
Re: I need help in asking the right questions
Roy F <roydoc@[EMAIL P  2007-11-01 14:33:04 
Re: I need help in asking the right questions
"Jim Moseley" &  2007-11-01 19:11:55 
Re: I need help in asking the right questions
Sundial Services <info  2007-11-01 20:01:40 
Re: I need help in asking the right questions
"Oscar Santiesteban&  2007-11-01 21:16:34 
Re: I need help in asking the right questions
Erik Wogstad <erik@[EM  2007-11-01 21:59:37 
Re: I need help in asking the right questions
"Jim Moseley" &  2007-11-06 07:29:06 
Re: I need help in asking the right questions
Sundial Services <info  2007-11-06 18:40:44 
Re: I need help in asking the right questions
"Larry DiGiovanni&qu  2007-11-02 09:36:59 
Re: I need help in asking the right questions
"Larry DiGiovanni&qu  2007-11-02 10:04:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 21:56:29 CST 2008.