tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Preprocessor performance tuning


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] Preprocessor performance tuning
Date: Sat, 16 Apr 2016 19:17:25 +0300

> You can try increasing `TOKSTR_TAL_SIZE` to 32MB. Then 256MB? When usage
drops below 100% on Limit=128 allocator then you can start decreasing it, if
you have to fine tune the capacity.

Can this be tuned by some new tcc option? Or some option to
automatically increase limits
(no limits)?

PS: ========================================
Before a patch:
step 1: compile & link
38397 idents, 6737338 lines, 196106244 bytes, 7.926 s, 850031 lines/s, 24.7 MB/s

Original values patch values:
step 1: compile & link
38397 idents, 6737338 lines, 196106244 bytes, 7.672 s, 878166 lines/s, 25.6 MB/s
limit=  128, nb_peak= 5181, nb_total=36433, nb_missed=1921634,
nb_failed=1511286,   100%
limit=  256, nb_peak=38397, nb_total=38397, nb_missed=    0,
nb_failed=    0,  92.2%
limit= 1024, nb_peak=    5, nb_total= 1383, nb_missed=49297,
nb_failed=18439,   100%

TOKSTR_TAL_SIZE = 32 MB
step 1: compile & link
38397 idents, 6737338 lines, 196106244 bytes, 7.551 s, 892216 lines/s, 26.0 MB/s
limit=  128, nb_peak= 6960, nb_total=581543, nb_missed=1314640,
nb_failed=966176,   100%
limit=  256, nb_peak=38397, nb_total=38397, nb_missed=    0,
nb_failed=    0,  92.2%
limit= 1024, nb_peak=    5, nb_total= 1383, nb_missed=49297,
nb_failed=18439,   100%

TOKSTR_TAL_SIZE = 256 MB
step 1: compile & link
38397 idents, 6737338 lines, 196106244 bytes, 7.374 s, 913643 lines/s, 26.6 MB/s
limit=  128, nb_peak=10140, nb_total=1547719, nb_missed=221364,
nb_failed=    0,  34.7%
limit=  256, nb_peak=38397, nb_total=38397, nb_missed=    0,
nb_failed=    0,  92.2%
limit= 1024, nb_peak=    5, nb_total= 1383, nb_missed=49297,
nb_failed=18439,   100%

CSTR_TAL_SIZE = 32 MB
step 1: compile & link
38397 idents, 6737338 lines, 196106244 bytes, 7.330 s, 919093 lines/s, 26.8 MB/s
limit=  128, nb_peak=10140, nb_total=1547719, nb_missed=221364,
nb_failed=    0,  34.7%
limit=  256, nb_peak=38397, nb_total=38397, nb_missed=    0,
nb_failed=    0,  5.76%
limit= 1024, nb_peak=    5, nb_total=19817, nb_missed=    0,
nb_failed=    0,  9.09%



reply via email to

[Prev in Thread] Current Thread [Next in Thread]