- R. Hashemian1, D. Krishnamurthy1, M. Arlitt2, N. Carlsson3
The 4th ACM/SPEC International Conference on
Performance Engineering
ICPE 2013
- 1. University of Calgary
- 2. HP Labs
- 3. Linköping University
by: Raoufehsadat Hashemian
OUTLINE Introduction Scalability Evaluation Scalability - - PowerPoint PPT Presentation
R. Hashemian 1 , D. Krishnamurthy 1 , M. Arlitt 2 , N. Carlsson 3 1. University of Calgary 2. HP Labs 3. Linkping University by : Raoufehsadat Hashemian The 4th ACM/SPEC International Conference on Performance Engineering ICPE 2013 OUTLINE
The 4th ACM/SPEC International Conference on
Performance Engineering
ICPE 2013
by: Raoufehsadat Hashemian
Improving the Scalability of a Multi-core Web Server
ICPE13 2
INTRODUCTION
Improving the Scalability of a Multi-core Web Server
ICPE13 3
10 20 30 40 50 100 Response Time CPU Utilization (%)
INTRODUCTION
Improving the Scalability of a Multi-core Web Server
ICPE13 5
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13 4
SCALABILITY EVALUATION
Nehalem Microarch. 2.4 GHz Frequency 32K IC - 32K DC L1 Cache 256K L2 Cache 12M (Inclusive) L3 Cache QPI -5.86 GT/s Inter-conn. 16GB - DDR3-1333 Memory
Processor 0
L3
C C 2 C 4 C 6
L2
L1 L1 L1 L1
L2 L2 L2
Processor 1
L3
C C 2 C 4 C 6
L2
L1 L1 L1 L1
L2 L2 L2
Memory Bank 0 Memory Bank 1 Improving the Scalability of a Multi-core Web Server
ICPE13 6
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13 7
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13 8
Maximum Achievable Throughput 146,000 req/sec
Maximum Achievable Throughput 23,000 req/sec
Scalability Scalability SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13 9
Number of Cores
10
10 10
1
10
2
10
3
0.2 0.4 0.6 0.8 1
x = Response time (msec) P [ X <= x ]
1 Core 2 Core 4 Core 8 Core
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13 10 CDF of Response times 80% CPU Utilization SPECweb Support Workload
10 10
2
0.9 0.92 0.94 0.96 0.98 1
SCALABILITY ENHANCEMENT
Processor 0 Processor 1
Single Replica Process NIC1 Queue NIC 2 Queue
NIC 2 NIC 1
Replica 1 Process NIC 1 Queue Replica 2 Process NIC 2 Queue
Processor 0 Processor 1 NIC 2 NIC 1 Original Configuration with one replica Alternative Configuration with two replicas
Improving the Scalability of a Multi-core Web Server
ICPE13 11
Request rate (req/sec) Response time (ms)
SCALABILITY ENHANCEMENT
Improving the Scalability of a Multi-core Web Server
ICPE13 12
Request rate (req/sec) Response time (ms)
replicas due to the larger working set size of dynamic requests
achieved for Static requests
CDF of Response times 80% CPU Utilization 22,000 req/sec SPECweb Support workload P [X <= x] Response Time (ms)
10 10
2
10
4
0.9 0.95 1
SCALABILITY ENHANCEMENT
Improving the Scalability of a Multi-core Web Server
ICPE13 13
Request Rate (req/sec) Inter-connect Traffic (Bytes/sec) Request Rate (req/sec)
VALIDATION
Inter-connect Traffic (Bytes/sec)
significantly
Improving the Scalability of a Multi-core Web Server
ICPE13 14 TCP/IP Intensive Workload SPECweb Support Workload
L3 Cache HIT Ratio Request Rate (req/sec)
Improving the Scalability of a Multi-core Web Server
ICPE13 15
VALIDATION
SPECweb Support Workload
Improving the Scalability of a Multi-core Web Server
ICPE13 16
Improving the Scalability of a Multi-core Web Server
ICPE13 17
International Conference on Computer Communications and Networks’00, Cherkasova; Ciardo; HP Labs
Gross; ETH
ATC'11, Blagodurov; Zhuravlev; Dashti; Fedorova; SFU
Mao; Pesterev; Kaashoek; Morris; Zeldovich, MIT
LIG-011, Gaud; Lachaize; Lepers; Muller; Quema.
Improving the Scalability of a Multi-core Web Server
ICPE13
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13
0.0 0.5 1.0 1.5 2.0 50,000 100,000 150,000 200,000 Response time (msec) Rate (req/sec) Before Distributing Int. Load After Distributing Int. Load
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 50000 100000 150000 200000 Response time (msec) Rate (req/sec) No Affinity With affinity
Response time (ms)
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13
File size (Byte)
SCALABILITY EVALUATION
Improving the Scalability of a Multi-core Web Server
ICPE13