Ultralite & sloooow PalmOS Emulator

2000-09-12 Thread Michal Seliga

Greetings

We are developing an application for palm with Ultralite support 
(sybase). There is one big problem. Synchronizing with emulator takes 
more then 1 hour. I would believe that it takes so much with real 
palm connected by serial cable (not tested), but why is the emulator 
so slow? Saved PDB after synchronization is about 1.2 MB long.

Does anyone know how to make emulator faster?

btw, we have much more problem with ultralite (sometimes Open crash, 
or Dr.Watson kills emulator while trying to Close() some table and 
much more...) Can anyone sugest some workaround to make it run 
better? (or any conditions we have to fulfill...)

thnx for help, bye

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Ultralite & sloooow PalmOS Emulator

2008-05-28 Thread Michal Seliga
Greetings

We are developing an application for palm with Ultralite support 
(sybase). There is one big problem. Synchronizing with emulator takes 
more then 1 hour. I would believe that it takes so much with real 
palm connected by serial cable (not tested), but why is the emulator 
so slow? Saved PDB after synchronization is about 1.2 MB long.

Does anyone know how to make emulator faster?

btw, we have much more problem with ultralite (sometimes Open crash, 
or Dr.Watson kills emulator while trying to Close() some table and 
much more...) Can anyone sugest some workaround to make it run 
better? (or any conditions we have to fulfill...)

thnx for help, bye


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Ultralite & sloooow PalmOS Emulator

2000-09-12 Thread JB Parrett

on 9/12/00 6:56 AM, Michal Seliga at [EMAIL PROTECTED] wrote:

> We are developing an application for palm with Ultralite support
> (sybase). There is one big problem. Synchronizing with emulator takes
> more then 1 hour. I would believe that it takes so much with real
> palm connected by serial cable (not tested), but why is the emulator
> so slow? Saved PDB after synchronization is about 1.2 MB long.
> 
> Does anyone know how to make emulator faster?

It seems that you are asking one question but really want a different one
answered.

Solutions to your stated question (easiest to most difficult):

1. Use a release ROM instead of a debug ROM. The debug ROMs contain
error-checking code that slows down many system functions. This is usually
what you want when writing code, but you can use a release ROM if you just
want more speed (you won't get the added checking).

2. Get a faster computer.

3. Optimize the POSE source code. I suspect your effort/return ratio will be
pretty high with this approach.

I would perform the sync with a real device - you might find that the
problem has nothing to do with POSE at all. The bottleneck might be in
Ultralite or the HotSync process. The comments of others here will be a poor
substitute for your own empirical data.

JB
--
JB Parrett [EMAIL PROTECTED]
Palm, Inc. 

We grow a lot faster than trees,
so we miss a lot of stuff. - B. Andreas


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Ultralite & sloooow PalmOS Emulator

2000-09-12 Thread Brian Mathis

On Tue, 12 Sep 2000, JB Parrett wrote:
> on 9/12/00 6:56 AM, Michal Seliga at [EMAIL PROTECTED] wrote:
> > We are developing an application for palm with Ultralite support
> > (sybase). There is one big problem. Synchronizing with emulator takes
> > more then 1 hour. I would believe that it takes so much with real
> > palm connected by serial cable (not tested), but why is the emulator
> > so slow? Saved PDB after synchronization is about 1.2 MB long.
> > 
> > Does anyone know how to make emulator faster?
> 
> It seems that you are asking one question but really want a different one
> answered.
> 
> Solutions to your stated question (easiest to most difficult):
> 
> 1. Use a release ROM instead of a debug ROM. The debug ROMs contain
> error-checking code that slows down many system functions. This is usually
> what you want when writing code, but you can use a release ROM if you just
> want more speed (you won't get the added checking).
> 
> 2. Get a faster computer.
> 
> 3. Optimize the POSE source code. I suspect your effort/return ratio will be
> pretty high with this approach.
> 
> I would perform the sync with a real device - you might find that the
> problem has nothing to do with POSE at all. The bottleneck might be in
> Ultralite or the HotSync process. The comments of others here will be a poor
> substitute for your own empirical data.
> 
> JB
> --
> JB Parrett [EMAIL PROTECTED]
> Palm, Inc. 


I'm going to take a guess here that the database you are syncing contains
many records.  Each record cotains overhead, and requires a separate write
when syncing.  If you were able to pack many smaller records into larger
ones, the speed of the sync would increase dramatically.

-- 
Brian Mathis
Direct Edge
http://www.directedge.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Ultralite & sloooow PalmOS Emulator

2000-09-12 Thread krollin



> but why is the emulator so slow?

What makes you think it's slow?  It's doing a lot of stuff!  What makes you
think it should be any faster than it is?

Once you do your comparisons, I'd be interested in seeing how long it takes to:

* HotSync with Poser using Network HotSync
* HotSync with Poser using a serial loopback cable
* HotSync with an actual device using NetWork HotSync
* HotSync with an actual device over a serial cable

In the first two cases, it would also be interesting to know what kind of host
computer you're using.

-- Keith Rollin
-- Palm OS Emulator engineer






"Michal Seliga" <[EMAIL PROTECTED]> on 09/12/2000 03:56:48 AM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  "Michal Seliga" <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:(Keith Rollin/US/PALM)
Subject:  Ultralite & slw PalmOS Emulator



Greetings

We are developing an application for palm with Ultralite support
(sybase). There is one big problem. Synchronizing with emulator takes
more then 1 hour. I would believe that it takes so much with real
palm connected by serial cable (not tested), but why is the emulator
so slow? Saved PDB after synchronization is about 1.2 MB long.

Does anyone know how to make emulator faster?

btw, we have much more problem with ultralite (sometimes Open crash,
or Dr.Watson kills emulator while trying to Close() some table and
much more...) Can anyone sugest some workaround to make it run
better? (or any conditions we have to fulfill...)

thnx for help, bye

--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/