My favorites | Sign in
Project Logo
                
Search
for
Updated Jul 04, 2007 by krzysztof.lichota
Labels: tests, results, openoffice
OpenOfficeStartupTimeResults  
Results of OpenOffice startup time measurements.

Introduction

This page contains summary of results of startup tests for OpenOffice. For measuring method, see MeasuringOpenOfficeStartupTime page.

Subpages:

Effect of -norestore option

Measurement method uses -norestore option. To see what is the effect of using this option, 2 series of tests were performed:

Test 1

Test description

Test machine: KL1

Test environment:

Test preparation:

  • one warmup run of measure_times.sh (i.e. warm startup)

Measurements repeatability:

  • each startup time measurement was repeated 10 times
  • each measurement immediately starting after previous one

Test results

With -norestore Without -norestore
Average time (s) 4.1165 4.0696
Standard deviation 0.0389 0.0909

Raw results are at: http://prefetch.googlecode.com/svn/trunk/results/openoffice/norestore-effect/testmachine-kl1/test-1/

Conclusion

Difference in startup time is in average about 0.05s so is not significant.

However, the test results show decreasing startup time with subsequent iteration, so the difference might be related to the fact that test without -norestore option was performed later. Repeating test with more warmup is recommended.

Test 2

Test description

Test machine: KL1

Test environment:

Test preparation:

  • 5 warmup runs (=50 starts of OpenOffice) of measure_times.sh (i.e. warm startup)

Measurements repeatability:

  • each startup time measurement was repeated 10 times
  • each measurement immediately starting after previous one

Test results

With -norestore Without -norestore
Average time (s) 4.0550 4.2413
Standard deviation 0.0224 0.0232

Raw results are at: http://prefetch.googlecode.com/svn/trunk/results/openoffice/norestore-effect/testmachine-kl1/test-2/

Conclusion

Difference in startup time with long warmup is in average about 0.20s so is not significant. -norestore option can be used for measuring startup time.

Simulating cold startup of OpenOffice

To reliably measure cold startup time, caches must be cold. These test aim at checking how can it be simulated.

Test 1

Test description

Check poweroff-poweron versus simple restart of machine (using K->Logout->Restart)

Test machine: KL1

Test environment:

Test preparation:

  • Tests run right after system start
  • In case of restart tests results are gathered after one warmup run from poweroff.

Measurements repeatability:

  • tests repeated 6 times

Test results

Poweoff Restart
Run 1 14.1362938881 14.7798278332
Run 2 14.2078208923 14.2695407867
Run 3 14.8470196724 14.6607158184
Run 4 13.217066288 13.2982037067
Run 5 13.5858802795 13.9165408611
Run 6 14.2573206425 16.718411684
Average time (s) 14.0419 14.6072
Standard deviation 0.5691 1.1657

Raw results are at: http://prefetch.googlecode.com/svn/trunk/results/openoffice/coldstart/testmachine-kl1/test-1/

Conclusion

Test 2

Test description

Check various ways of simulating cold restart without rebooting the computer.

Test machine: KL1

Test environment:

Test preparation:

Measurements repeatability:

  • each test repeated 10 times
  • before each run cache cleared using one of the methods tested

Measured cold start methods:

  • drop_caches - performing "sync" then writing "3" to /proc/sys/vm/drop_caches
  • drop_caches+hdparm-f - as above, then perform hdparm -f diskdevice to flush disk cache
  • drop_caches+hdparm-f+cat-largefile - as the 2 methods above, additionally copies large file (twice the size of RAM) from disk to /dev/null to purge cache

Test results

drop_caches drop_caches+hdparm-f drop_caches+hdparm-f+cat-largefile
Average time (s) 11.3584 11.2051 11.2250
Standard deviation 0.1218 0.0801 0.1121

Raw results are at: http://prefetch.googlecode.com/svn/trunk/results/openoffice/coldstart/testmachine-kl1/test-2/

Conclusions


Sign in to add a comment
Hosted by Google Code