[Mplayer-dev-eng] Fwd: Benchmarks -largefiles
Arpi
arpi at thot.banki.hu
Wed Jul 4 23:49:50 CEST 2001
Ok.
LGB?
--------- Forwarded message ---------
From: Stephen Davies <steve at daviesfam.org>
To: arpi at thot.banki.hu
Subject: Benchmarks -largefiles
Hi Arpi,
To try to put your mind at rest regarding performance impact of the
long-long's in the largefile patch, here are some benchmarks.
I tested three mplayer versions against a 30 minute, 4Mb/sec MPEG1 file -
first the standard source from cvs today:
BENCHMARKs: V: 267.756s VO: 0.000s A: 0.000s Sys: 39.712s = 307.469s
BENCHMARK%: V: 87.0841% VO: 0.0000% A: 0.0000% Sys: 12.9159% = 100.0000%
BENCHMARKs: V: 267.308s VO: 0.000s A: 0.000s Sys: 39.710s = 307.018s
BENCHMARK%: V: 87.0660% VO: 0.0000% A: 0.0000% Sys: 12.9340% = 100.0000%
BENCHMARKs: V: 267.364s VO: 0.000s A: 0.000s Sys: 39.519s = 306.883s
BENCHMARK%: V: 87.1224% VO: 0.0000% A: 0.0000% Sys: 12.8776% = 100.0000%
921.370
Then, I applied the largefiles patch, but compiled with largefiles
disabled (consequently only code change being one or two conversions to
long long datatype.
Here are the results:
BENCHMARKs: V: 267.451s VO: 0.000s A: 0.000s Sys: 39.810s = 307.261s
BENCHMARK%: V: 87.0435% VO: 0.0000% A: 0.0000% Sys: 12.9565% = 100.0000%
BENCHMARKs: V: 267.371s VO: 0.000s A: 0.000s Sys: 39.804s = 307.174s
BENCHMARK%: V: 87.0420% VO: 0.0000% A: 0.0000% Sys: 12.9580% = 100.0000%
BENCHMARKs: V: 267.856s VO: 0.000s A: 0.000s Sys: 39.494s = 307.351s
BENCHMARK%: V: 87.1500% VO: 0.0000% A: 0.0000% Sys: 12.8500% = 100.0000%
.046% diff 921.786
0.046% slower - I doubt that this is statistically siginificant even.
I then compiled with 64bit file offsets enabled:
BENCHMARKs: V: 267.376s VO: 0.000s A: 0.000s Sys: 39.753s = 307.128s
BENCHMARK%: V: 87.0567% VO: 0.0000% A: 0.0000% Sys: 12.9433% = 100.0000%
BENCHMARKs: V: 268.210s VO: 0.000s A: 0.000s Sys: 39.557s = 307.767s
BENCHMARK%: V: 87.1470% VO: 0.0000% A: 0.0000% Sys: 12.8530% = 100.0000%
BENCHMARKs: V: 267.135s VO: 0.000s A: 0.000s Sys: 39.894s = 307.029s
BENCHMARK%: V: 87.0066% VO: 0.0000% A: 0.0000% Sys: 12.9934% = 100.0000%
.060% diff 921.924
0.060% slower.
Hope that that satisfies you with respect to performance? If you feel its
still an issue I'll find you a 1% saving somewhere else - thats 20 times
as much ;-)
Regards,
Steve
_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng
More information about the MPlayer-dev-eng
mailing list