Details
-
Improvement
-
Resolution: Won't Fix
-
Medium
-
4.1.3
-
None
Description
For each request, eZINI generates around 250 file_exists calls which generates around 250 access [1] calls as well. Considering a syscall is generally bad for performances, we need to find a way to reduce the amount of file_exists calls for eZINI.
Here is a few statistics, I got from Dtrace :
Summary : syscall statistics: access 255 /srv/www/ezp41test/lib/ezutils/classes/ezini.php value ------------- Distribution ------------- count 248 | 0 249 | 1 [...............................................] 311 | 0 312 |@@@ 17 318 | 0 [...............................................] 319 |@@@ 17 320 | 0 321 | 0 322 | 0 323 | 0 324 | 2 325 | 0 326 | 0 327 | 2 [...............................................] 343 | 0 344 |@@@@@@@@ 54 345 | 0 346 | 0 347 | 0 348 | 0 349 |@@@@@@@@ 54 350 | 0 351 | 0 352 | 0 353 | 0 354 |@@@@@@@@ 54 355 | 0 356 | 0 357 | 0 358 | 0 359 |@@@@@@@@ 54 [...............................................] 439 |@@@ 17
This test has been run on ezp 4.1.1 but I am sure it is more or less the same on trunk.
1. http://docs.sun.com/app/docs/doc/816-5167/access-2?l=fr&a=view&q=access
Attachments
Issue Links
- relates to
-
EZP-14489 Placeholder for performance enhancements in 4.x
- Closed