From kde-frameworks-devel Tue Nov 26 07:56:54 2019 From: Milian Wolff Date: Tue, 26 Nov 2019 07:56:54 +0000 To: kde-frameworks-devel Subject: Re: KInit - Current state and benchmarks Message-Id: <2587037.RyyYe66gVG () agathebauer> X-MARC-Message: https://marc.info/?l=kde-frameworks-devel&m=157475503931362 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2351613.Lu7aimWTVE" --nextPart2351613.Lu7aimWTVE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Montag, 25. November 2019 22:57:11 CET Albert Astals Cid wrote: > El dissabte, 23 de novembre de 2019, a les 11:47:40 CET, Milian Wolff va escriure: > > On Mittwoch, 19. Juni 2019 19:57:56 CET Albert Astals Cid wrote: > > > El dimarts, 18 de juny de 2019, a les 12:04:38 CEST, David Edmundson va > > > > escriure: > > > > > Are we sure it's fair to assume people have SSD? our of the 4 > > > > > laptops i > > > > > own, only 2 have SSD.> > > > > > > > > It's at least safe to assume it's the trend moving forward. > > > > > > > > > Do you think it's worth me trying in one of the two that don't have > > > > > SSD? > > > > > > > > More data is normally a good thing. If you or anyone else wants to > > > > collect stats: > > > > From my git link above, it's as simple as running the normal ; cmake; > > > > make ; ./kinittest -median 5 > > > > > > On my very old/very slow computer seems to make a lot of difference > > > > > > RESULT : DaveTest::testQProcess(): > > > 2,625 msecs per iteration (total: 2,625, iterations: 1) > > > > > > RESULT : DaveTest::testKInit(): > > > 1,852 msecs per iteration (total: 1,852, iterations: 1) > > > > > > RESULT : DaveTest::testQProcess(): > > > 2,390 msecs per iteration (total: 2,390, iterations: 1) > > > > > > RESULT : DaveTest::testKInit(): > > > 1,846 msecs per iteration (total: 1,846, iterations: 1) > > > > Hey Albert, > > > > these numbers are quite impressive but I can't quite explain those. Are > > you > > measuring maybe a full debug build without any compiler optimizations? > > I obviously can't remember, this was *months* ago, but i just ran the test > again (making sure -O3 was there and not any -g) and got a bit different > results, so maybe it was. Does this apply to your whole stack (instead of just the inittest from Dave)? > New results: > * testQProcess: 2200 msec per iteration > * testKInit: 1700 msec per iteration > > Still a 20% speed improvement. > > > Then > > the library sizes will be _much_ larger and thus trigger more page faults. > > If every one of those is extremely slow on that machine compared to more > > modern machines? > > > > May I ask how old this machine is and what the speed of the HDD is? > > It's a Lenovo ideapad S10-3t, around 10 years old, the HDD is slow. But it's > of similar power to the Librecomputer La Frite i just got for free at > LinuxAppSummit, so even this is on the slow end of things we support i > think there's value on supporting it. > > If you're interested i can arrange you to get ssh access to the machine (the > ideapad, i don't have all the KF5/Qt stack built for the LaFrite). Yes, that would be interesting for me! Cheers -- Milian Wolff mail@milianw.de http://milianw.de --nextPart2351613.Lu7aimWTVE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEezawi1aUvUGg3A1+8zYW/HGdOX8FAl3c2sYACgkQ8zYW/HGd OX8mohAAyXlSRl8MrA1mPi+/ivgeKtUgMguCSB0REBdXyFqkDeWboqs8C+enL62t yqg0i0Hn9e11h5VBfppmle9jmyYm29Kz/ad1qE6J7i1QVQeTOXPV0p8TO7kiRRFg XOCyJOrptP2PQijfyCfA9dCQwRK/GgQSYeOnXeJso1YiPXpzlLY4NC/gfOXdjWbM D6Hm3u6fxZsaJGaFMAdB0N7ngcj/HbuDzrNbyuNE3KhRs5/TPS/0jWmtULu4qTqJ iNlWhWeiHqsIwXY9UBqfBtA011aqXIYXQnuTJvTyO36LToh4TKaQBlVAHus9785Q HpJjrrmU53Y/QJ8Cf2czXzKxl129SjywQxwA/C5He9q9UBnbQBl9QhHNlIFFoW8y Qrbo8bMY8qINaOy5Sbz3DqPi3zKP6bIraB3u5XAN69QenIns75y9eDTLrn8ZvDTZ GGH7A0eDqDAUlbLUTzG1o8b+T+2gT9KZn+fkMmpVFCBIzLVfkX0Q0Te4ykNmpdiT Jdk8cLzumrUduDsxKC4v8kcgz3WKWCKiWKBwN93X1wvYz0uqYq+5nlWyi68nClzb vWC5e4Q2s21YeEs+GxQogx+e/LOaYJ6DXoT+cwcvJgVpAwjJ4Idfn9WcZ3Xm0yAI c59RKNT9nnzpH6cYMr9rY+N7CMVgYFbf5mKWucRuy7y8omwBUVk= =+gQU -----END PGP SIGNATURE----- --nextPart2351613.Lu7aimWTVE--