[missing-sync-palmos-talk] Excruciatingly long sync times over
network/LANSync
Scott Gruby
sgruby at markspace.com
Sat Dec 4 19:23:13 PST 2004
On Dec 4, 2004, at 7:10 PM, David A. Desrosiers wrote:
>
>> It is reading a list of all the databases on the handheld; on a
>> fully loaded device, there can be a large number of databases.
>
> I've only installed about 20 applications, but the list of
> files on the device (RAM and ROM) is over 400. The data + apps on the
> device total 293 files. The total size is 23M, with the largest being
> Vindigo (which I keep all conduits for, in the disabled state).
>
> It should be that long to enumerate through these by name or
> CreatorID. If the Backup conduit is disabled, why do you need to
> enumerate at all? Wouldn't just doing a dlp_FindDBByTypeCreator for
> each of the registered (and activated) conduits, suffice?
>
When each conduit is run, we pass a list of databases to the conduit.
It may be faster to gather up the databases when the conduit is run,
but for now, we gather up all the database information at startup and
then we don't have to query it again for each conduit. The code that
runs the conduits has been worked on a bunch in order to have as many
conduits as possible work. Many conduits have different behaviors and
we've had to keep working in it to ensure compatibility. I'll re-visit
this to see about speed improvements; over USB, this phase is very fast
and right now I'd take conduit compatibility over a little speed. We
have to re-test a large number of conduits every time I work on this,
so changes are not taken lightly.
>> There are definitely improvements that can be made in the sync.
>
> Right, but the sheer number of working and broken and odd
> devices that we both have to support in our respective camps, makes
> that very difficult to "Fix Right(tm)", and in a way that doesn't
> break sync for other previously-working devices.
>
For us, the devices don't give us many problems; it is the conduits
that are very hard to support as developers have been so used to
HotSync Manager, that we've had to attempt to be as close to HotSync
Manager as possible, including the bugs.
> I'll keep beating on this a bit, and seeing if I can identify
> the slowdowns with Ethereal for LANSync and my dlp/net plugins for
> local sync.
>
> I'll contact you off-list with some other info.
>
> David A. Desrosiers
> desrod at gnu-designs.com
> http://gnu-designs.com
>
> _______________________________________________
> missing-sync-palmos-talk mailing list
> missing-sync-palmos-talk at lists.markspace.com
> Unsubcribing information, subscription options and list archives can
> be found at:
> http://lists.markspace.com/mailman/listinfo/missing-sync-palmos-talk
>
>
--
Scott Gruby
Lead Engineer, Missing Sync for Palm OS
Mark/Space, Inc.
<http://www.markspace.com/>
Please contact support at markspace.com for assistance with Mark/Space
products.
More information about the missing-sync-palmos-talk
mailing list