dbTalk Databases Forums  

Re: Performance Questions

comp.databases.btrieve comp.databases.btrieve


Discuss Re: Performance Questions in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
LHarvey
 
Posts: n/a

Default Re: Performance Questions - 08-22-2003 , 09:04 AM






Typically Pervasive is not CPU bound so whichever processor will
likely make little difference in performance.
It is however usually IO bound so the faster the IO hardware (both
disk and network) the better.

Nothing jumps out at me as "wrong" in the config file.

There is one other item to think of in behavior between file system
performance and database performance, file system information is
streamed. Specifically read-ahead caching helps and network transfers
allow multiple packets to be in transit before an ack response.
Database requests are typically random on the disk (RAID is
specifically mentioned, is it set to do a lot of read-ahead, if so
that can hurt the random database access requests) and the network
transfers are synchronous. Specifically for the transactional api,
the application makes a database request and waits for the single
answer processes the data then makes the next request. This is very
apparent if you are running a single client to the database engine.
Instead of checking the throughput by the amount of data try checking
the throughput on the number of requests serviced. The Pervasive
Monitor utility is a good place to do this. For a single client
across a fast network expect 1000+ round trip requests per second to
be processed (providing the application does not do a lot of work with
the data it gets back). Keep in mind "ping" takes about 1 ms on most
networks and does not have to do any work at the server. If you
network latency is higher expect lower numbers (for a single client).

Leonard

On 21 Aug 2003 10:43:29 -0700, garrettj (AT) annalee (DOT) com (Garrett) wrote:

Quote:
Is 1 3.06 XEON or 2 2.4 GHZ Xeon's better for Pervasive SQL 2000i?
I've been to Pervasive's site and read how the OS does help a little
with SMP but PSQL has no SMP code. (Netware 5.0) Does anybody have
any performance data or a place to get it that shows this information?
It seems that Pervasive wants to hide its Performance with charts
that have no TPS just general higher CPU means more perfomance info.

We currently have a single XEON 550 Raid 5 Netware 5.0 server and I
have recently noticed that no matter what query I do or what API call
I make etc. I never get over 2.0 Mbs per second transferred from the
PSQL server. File system I can get over 70 Mbs. I think I may have
something wrong in my config for Pervasive but can't find it. Any
thoughts?

Here's my BTI.cfg

[InstallInfo]
InstallDir=p:\PVSW
SystemDir=p:\system
InstallIniName=PTKSETUP.INI
VersionLevel=7.90
PatchLevel=3
BuildLevel=230

[Database Names]
DBNamesDirectory=SYS:/SYSTEM/mkde

[MicroKernel]
MaxFiles=3000
MaxCursors=6000
BalancedTrees=NO
ForceFileVersion=0700
SystemData=YES
MaxDatabases=100
Logging=NO
CacheSize=145170
CompressedBufferSize=5
ExtendedBufferSize=4096
MergeSortBufferSize=0
MaxRecSize=16
CachePartitioning=NO
TransDurability=YES
TransLogBufferSize=64
TransLogFileSize=512
SysTransBundleLimit=65535
SysTransTimeLimit=10000
MaxClients=500
BackgroundThreads=20
WaitLockTimeout=2
TransLogDirectory=SYS:SYSTEM/MKDE/LOG
WorkDirectory=
Trace=NO
TraceFile=SYS:/SYSTEM\MKDE.TRA
TraceDataBufferLength=32
TraceKeyBufferLength=32
TraceOpsList=ALL
LoadRouter=NO
RouterCommBufferSize=16
RuntimeServerSupportMode=0000

Use FileIO Mutex=YES
Validate Request=NO
[Btrieve Interface]
Embedded Spaces=NO

[Btrieve Communications Manager]
MaxWorkerThreads=54
MaxRecSize=16384
MaxClients=4096
MaxReceivePacketSize=4096
Use SAP=AUTODETECT
Supported Protocols=SPX,TCPIP
Listen IP Address=
TCP/IP Multihomed=YES
Enable AutoReconnect=YES
AutoReconnect Timeout=180


Garrett Johnson


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.