You are right Tom. I have tried packing several records in one record. The 
HotSync time reduced dramatically. We could transfer about 2 MB of data in 3 
min.s. as opposed 40 mins. However unpacking in Palm took around 36 mins. 
Thus nullifying all the advantage. As you said it's the process of creating 
new records that is taking all the time. Only way to improve this is to 
bypass the OS calls with our own, or optimize the OS calls.
If we don't need to unpack the records in Palm, we use the packing 
technique. It only requires some pointer arithmatic. However if we need to 
keep the records separate, we send them as separate records.

-Sugho-

>From: Tom Zerucha <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Re: Installing a PDB file takes a lot of time
>Date: Wed, 19 Apr 2000 14:51:57 -0400
>
>On Wed, Apr 19, 2000 at 01:51:14PM -0300, Alejandro Calvo wrote:
> > Tom, now I am transfering with pilot-xfer , has passed 40 minutes and go 
>on.
> > I think that the problem is that pilot-xfer and Hotsync do a Record
> > Transfer instead of Stream transfer. I guess that if I can do a Stream
> > Transfer it will work faster.
>
>Basically if you can reduce the number of records the hotsync will go
>much faster.  There is no "stream transfer" per se, but my program
>transfers the pdb file as a stream and unpacks it on the palm.
>
>You could build something like this into your own program that would
>take the hotsynced program and unpack it into the 14000 records.
>
>I just don't know how long the unpacking would take.  As I said, if
>palmos takes seconds to create new records after there are 10000, the
>hotsync will go fast, but the unpack will still take a long time.
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palm.com/devzone/mailinglists.html
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to