trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geun-ryeol Lee <zzara...@gmail.com>
Subject ATS polygraph TEST
Date Thu, 17 Mar 2011 05:42:13 GMT
hi all.

I was heard ATS is very powerful (30,000TPS)  so I did polygraph test (
http://www.web-polygraph.org/)

but, The following data are  insufficient to use ATS on my small company.

I do want how to fix ATS config or system setting...




-- TEST Result

1. System Environment
  a. system
   - OS :  CentOS 5
   - Intel(R) Xeon(R) CPU   X5450  @ 3.00GHz * 8
   - Memory 4G
   - Cache Disk :  25G  (/dev/sda4)

   - ATS : trafficserver-2.1.5-unstable
   - Test Tool: Polygraph 3.1.5

 root@bora ~]# cat /proc/sys/fs/file-max
                    122880
[root@bora ~]# cat /proc/sys/fs/file-nr
                    11730   0       122880

     b. ATS setting
    - record.conf
    CONFIG proxy.config.log.squid_log_enabled INT 1       # squid log enable
    CONFIG proxy.config.log.squid_log_is_ascii INT 1
    CONFIG proxy.config.reverse_proxy.enabled INT 0
     - storage.conf
       /dev/sda4   # 25G


 2. Result

*# Proxy mode*


  ATS 2000Req/sec

ATS 1500 Req/sec

ATS 1000 Req/sec

Throughput

1999.28xact/sec or 83.00Mbits/sec

1505.66xact/sec or 63.91Mbits/sec

999.92xact/sec or 42.82Mbits/sec

Response Time

2.64sec mean

1.52sec mean

14msec mean

Hit Ratio

98.29% DHR and 96.80% BHR

98.40% DHR and 96.79% BHR

98.08% DHR and 96.77% BHR

Errors

1.07% (38443xact out of 3598852xact)

0.42% (11374xact out of 2710401xact)

0.00% (0xact out of 1799973xact)

 *# No caching reverse mode*


  ATS 2000Req/sec

ATS 1500 Req/sec

ATS 1000 Req/sec

Throughput

2484.76xact/sec or 93.44Mbits/sec

1666.27xact/sec or 54.02Mbits/sec

998.29xact/sec or 43.61Mbits/sec

Response Time

2.72sec mean

2.65sec mean

1.65sec mean

Hit Ratio

- 0.50% DHR and 0.19% BHR

- 0.27% DHR and 0.53% BHR

- 0.00% DHR and 0.61% BHR

Errors

1.82% (2708xact out of 149087xact)

1.13% (1126xact out of 99993xact)

0.61% (10955xact out of 1797000xact)


 *# FD count*

[root@bora ~] # ps aux |grep traffic

root 26490 /usr/local/ATS.U/bin/traffic_cop

nobody 26492 /usr/local/ATS.U/bin/traffic_manager

nobody 26504 /usr/local/ATS.U/bin/traffic_server -M -A,8:X


 [root@bora ~]# ls -al /proc/26504/fd |grep socket | wc -l

PID : FD Count

26490 : 1

26492 : 10

26504 : 8914

*# I/O state*

avg-cpu: %user %nice %system %iowait %steal %idle

1.67 0.00 2.00 11.46 0.00 84.88


 Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s

avgrq-sz avgqu-sz await svctm %util

sda 0.00 312.67 592.33 58.00 14127.33 2965.33

26.28 5.08 7.73 1.42 92.43

sda1 0.00 229.33 0.00 50.00 0.00 2234.67

44.69 0.16 3.26 0.05 0.27

~~

sda4 0.00 0.00 591.67 0.00 14122.00 0.00

23.87 4.87 8.15 1.56 92.37


*# TOP*

*[root@bora ~]# top*

top - 11:44:45 up 27 days, 18:25, 12 users, load average: 8.00, 6.74, 4.12

Tasks: 207 total, 1 running, 206 sleeping, 0 stopped, 0 zombie

Cpu0 : 0.6%us, 0.4%sy, 0.0%ni, 97.1%id, 1.1%wa, 0.1%hi, 0.7%si, 0.0%st

Cpu1 : 0.4%us, 0.4%sy, 0.0%ni, 94.7%id, 4.4%wa, 0.0%hi, 0.0%si, 0.0%st

Cpu2 : 0.6%us, 0.6%sy, 0.1%ni, 98.6%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st

Cpu3 : 0.6%us, 0.6%sy, 0.1%ni, 97.6%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st

Cpu4 : 0.4%us, 0.3%sy, 0.0%ni, 98.7%id, 0.5%wa, 0.0%hi, 0.0%si, 0.0%st

Cpu5 : 0.4%us, 0.2%sy, 0.0%ni, 99.4%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st

Cpu6 : 1.2%us, 0.9%sy, 0.1%ni, 95.6%id, 1.3%wa, 0.0%hi, 0.8%si, 0.0%st

Cpu7 : 0.7%us, 0.4%sy, 0.1%ni, 98.7%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st

Mem: 4043152k total, 2876040k used, 1167112k free, 86880k buffers

Swap: 2096472k total, 19000k used, 2077472k free, 1706116k cached


 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

26504 nobody 5 0 605m 301m 4584 S 19.4 7.6 5:20.02 traffic_server


[image: atu2000.png]



[image: atu1000.png]

---
Y'know, I believe if there's any kind of God, it wouldn't be in any of us.
Not you, or me...
but just this little space in between.
If there's any kind of magic in this world, it must be
in the attempt of understanding someone, sharing something .

Mime
View raw message