> If I had to guess, I think sqlite does some filesystem sync operations
> which are just noops on tmpfs (it's memory or swap right).

I can confirm that just copying db/test.sqlite3 onto tmpfs volume and
symlinking improves the time by 50 %.

We do test all our db platforms on Jenkins. Times are approx:

SQLite: 20 min
MySQL: 25 min
PostgreSQL: 35 min

Adding this trick won't necessarily shorten wait time, but it will save
some time that can be used for other tests.

It is worth looking on PostgreSQL/MySQL settings if there is any chance
of setting some faster IO mode as well.

-- 
Later,
 Lukas #lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to