04-24-2009 12:25 PM - edited 03-06-2019 05:22 AM
Hi, all,
I have a small experimental network, using one Cisco7204VXR(NPE400) router and one Cisco2950switch. The router has one FE port, so I created several virtual FE on it and connected to the switch.. The network is isolated from any other LAN/WAN.
interface FastEthernet1/0
description CONNECTION TO CISCO_SW_PORT_24
no ip address
no ip proxy-arp
duplex full
no cdp enable
!
interface FastEthernet1/0.2
description VLAN2_141.142.1.0_outside_net
encapsulation dot1Q 2
ip address 141.142.1.1 255.255.255.0
!
interface FastEthernet1/0.3
description VLAN3_192.168.0.0_inside_net
encapsulation dot1Q 3
ip address 192.168.1.1 255.255.0.0
As described in the config, 141.142.1.0/24 subnet is mimicking outside server-two server machines are sitting there with IP 141.142.1.99 and 141.142.1.100; and 192.168.0.0/16 is mimicking inside client and several client machines are connected through switch.
When I test the connection performance by using apache benchmark from client to server, e.g., from client 192.168.255.7 I send âab -c 100 -n 1000 http://141.142.1.99/â, the result is very bad:
-------------------------------------------------------------------------
Percentage of the requests served within a certain time (ms)
50% 4
66% 218
75% 411
80% 452
90% 873
95% 1492
98% 7356
99% 20230
100% 21835 (longest request) (<== sometimes, this can be several minutes)
-------------------------------------------------------------------------
and sometimes, the test even failed:
Benchmarking 141.142.1.99 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
apr_poll: The timeout specified has expired (70007) <=== failed to be finished
Total of 950 requests completed
-------------------------------------------------------------------------
I'm assuming the problem doesn't come from the apache server, because if I tried the same test from 141.142.1.100 (in this case, the connection doesn't go through the router, instead, it only go through the switch), the result is reasonable (served http requests >1.5K/second)
A detailed configuration of router is attached to this post.
Can anyone through some lights on debugging the problem?
Thanks,
Joe
04-26-2009 11:46 PM
Hi
I can't see any problem with config, except maybe for the "full duplex".
You have to verify that also the switchport is in full duplex mode.
Otherwise it will generate a lot of errors, and a bad throughput.
Beside of that I would recomend You to change the subnetmask of 192.168.0.0 net to 255.255.255.0 instead, too see if that is the problem.
I have seen ip-stacks having problem with supernetts.
/Mikael
04-28-2009 07:11 PM
Thanks a lot for your reply, Mikael.
I checked the switch config, every port is running on "full duplex" mode; and I also checked NIC of each involved computer, all of them are running on "full duplex" mode.
You are right, I read from some doc said "bigger" subnet may sometimes cause trouble. I tried to revise FA1/0.3 to "192.168.1.0 255.255.255.0", but the problem remains the same.
Any other thoughts? I've been working on this problem for several weeks, it really cause serious headache. I would appreciate any help.
Thanks in advance.
Joe
04-29-2009 03:29 AM
Joe
Perhaps it would be helpful if you would post the output of show interface from the router. It might also be helpful if you would post the config of the switch.
HTH
Rick
04-29-2009 06:06 PM
04-30-2009 09:52 AM
Joe
I have looked at the additional information that you posted. I do not see any issue in it that would explain the performance issue.
I am wondering since it is a 7204 router running some version of 12.2 code if there could be some issue or some inefficiency in its implementation of the router on a stick which receives input and sends the output on VLANs of the same interface.
HTH
Rick
04-30-2009 02:15 PM
Hi Rick,
Thanks for your help.
Would you please tell me a little bit more about your suspicion? How can I detect that the problem does come from router hardware/software? Is there a command set I can use to verify your guess?
And by the way, I kept tracing the Router cpu usage by using "show processes cpu history", the result show that usage were always very low (1%~3%) for all the time.
Thanks again.
Joe
05-01-2009 05:46 PM
Joe
Unfortunately I do not know a command or any good way to reliably examine the router and tell whether there is some inefficiency in the software. I can only say that for 7204 that 12.2 is pretty old code and that typically performance enhancements are one of the things put into newer code.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide