Mailinglist Archive: zypp-devel (115 mails)

< Previous Next >
[zypp-devel] Playing with sqlite cache
  • From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
  • Date: Sun, 1 Jul 2007 18:43:45 +0200
  • Message-id: <200707011843.46319.dmacvicar@xxxxxxx>

The cached RepoImpl sets the cache to something bigger, but CacheStore just 
used the default. For a sets of small repos plus 10.2 repo, playing with the 
sqlite3 cache size changed writing (done during parsing) times:

default (2000) 30.122s
8000 0m25.415s
10000 24.443s
15000 23.567
20000 23.529

You can see the curve has an optimum at 10 M or 15 M (is it worth to use 5 mb 
to save 1 more second?) but this value should depend on the amount of data 
you write. It would be cool we could optimize this value on runtime depending 
on the situation.

Duncan
-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups