Project

General

Profile

Actions

Task #53404

closed

Task #52304: Performance issues

Page cache saves the hash_base

Added by Alexander Opitz about 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2013-11-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The hash_base (the array from which the cache hash is calculated) is saved into the cache. But this isn't required IMHO, it will be read on every cached request but doesn't get processed somewhere (as I read the source).
So if we remove it, it won't get saved and loaded, which reduces bandwidth to the SQL server and reduces the string which needs to be un-/serialized.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Task #29340: Check usage of hash_base.Closed2011-08-30

Actions
Actions #1

Updated by Alexander Opitz about 11 years ago

Benchmarked with "ab -n 1000 -c 100 host/" to a cached empty start page with PHP 5.5.3-1ubuntu2 with Zend OPcache v7.0.3-dev

Without patch:

Concurrency Level:      100
Time taken for tests:   4.702 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      2875000 bytes
HTML transferred:       2399000 bytes
Requests per second:    212.69 [#/sec] (mean)
Time per request:       470.165 [ms] (mean)
Time per request:       4.702 [ms] (mean, across all concurrent requests)
Transfer rate:          597.16 [Kbytes/sec] received

With patch

Concurrency Level:      100
Time taken for tests:   4.212 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      2875000 bytes
HTML transferred:       2399000 bytes
Requests per second:    237.42 [#/sec] (mean)
Time per request:       421.192 [ms] (mean)
Time per request:       4.212 [ms] (mean, across all concurrent requests)
Transfer rate:          666.59 [Kbytes/sec] received

Actions #2

Updated by Gerrit Code Review about 11 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #3

Updated by Alexander Opitz about 11 years ago

  • Assignee set to Alexander Opitz
Actions #4

Updated by Gerrit Code Review about 11 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #5

Updated by Gerrit Code Review about 11 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #6

Updated by Gerrit Code Review about 11 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #7

Updated by Gerrit Code Review about 11 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #8

Updated by Gerrit Code Review about 11 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #9

Updated by Gerrit Code Review about 11 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #10

Updated by Gerrit Code Review about 11 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #11

Updated by Gerrit Code Review about 11 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25191

Actions #12

Updated by Alexander Opitz about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #13

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF