Winsock Performance CETK Test

This is a discussion on Winsock Performance CETK Test within the Software-Testing forums in Theory and Concepts category; I tested 1007 UDP Send Throughputand 1008 UDP Send Packet Loss in the Winsock Performance CETK Test use wince600 cetk tools.I found the two item is always fail. The fail log is as following: ReceiveServiceReponse() timed-out Communication between server and client failed; terminating test But If we use wince500 cetk tool to test Winsock Performance .The test case can pass. So I start study the differents of the wince500 test souce between wince500 test souce.The Winsock test case setup two socket ,One for control socket use TCP ,another for work that can be use TCP or UDP. We found in ...

Go Back   Application Development Forum > Theory and Concepts > Software-Testing

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-21-2008, 03:07 AM
make
Guest
 
Default Winsock Performance CETK Test

I tested 1007 UDP Send Throughputand 1008 UDP Send Packet Loss in the Winsock
Performance CETK Test use wince600 cetk tools.I found the two item is always
fail.
The fail log is as following:
ReceiveServiceReponse() timed-out
Communication between server and client failed; terminating test
But If we use wince500 cetk tool to test Winsock Performance .The test case
can pass.
So I start study the differents of the wince500 test souce between wince500
test souce.The Winsock test case setup two socket ,One for control socket use
TCP ,another for work that can be use TCP or UDP.
We found in wince500 ,the work socket setup use SO_KEEPALIVE mode.Wince600
is not setup a SO_KEEPALIVE mode.Who please can give me some comments?

Reply With Quote
  #2  
Old 08-05-2008, 07:51 AM
Sean
Guest
 
Default RE: Winsock Performance CETK Test

Hi,

I have same problem.

I can pass test case 1007 in WinCE5.0, but it has some problems here.
The RecvRate is not correct .
like this...
Send Packet Bytes Sent Send Rate Recv Rate CPU Util Packets Recvd
(Bytes) (Bytes) (Kbps) (Kbps) (%)
(%) (#recv/#sent)
----------- ----------- ----------- ----------- -------- ------
-------------
256 1280000 5311.20 10219520.00 31.54 99.80 4990/5000
256 1280000 5311.20 10219520.00 31.54 99.80 4990/5000

I check out the source code.
the Recv Rate is calculated in this way:
(double)dwPacketsRecvd * dwRecvPacketSize * 8. / (double)dwRecvTime);

I found that the dwRecvTime=1 when packets dropped.
So the value is 4990*256*8/1=10219520.00

We can retrieve test response from server (you can check out procedure
"ReceiveTestResponse")
but the response seems not correctly when packets dropped.
The Recv time is 0 in the response, and it will be corrected to 1as
mentioned before.
So the value is 4990*256*8/1=10219520.00

Why should the Recv time be 0 when packets dropped?

Best regards
Sean


"make" wrote:

> I tested 1007 UDP Send Throughputand 1008 UDP Send Packet Loss in the Winsock
> Performance CETK Test use wince600 cetk tools.I found the two item is always
> fail.
> The fail log is as following:
> ReceiveServiceReponse() timed-out
> Communication between server and client failed; terminating test
> But If we use wince500 cetk tool to test Winsock Performance .The test case
> can pass.
> So I start study the differents of the wince500 test souce between wince500
> test souce.The Winsock test case setup two socket ,One for control socket use
> TCP ,another for work that can be use TCP or UDP.
> We found in wince500 ,the work socket setup use SO_KEEPALIVE mode.Wince600
> is not setup a SO_KEEPALIVE mode.Who please can give me some comments?
>

Reply With Quote
  #3  
Old 08-21-2008, 05:02 PM
Woojung
Guest
 
Default RE: Winsock Performance CETK Test

Hello,

I get same problem with CE 6.0 R2.
Did you resolve this issue?

Thanks,
Woojung

"make" wrote:

> I tested 1007 UDP Send Throughputand 1008 UDP Send Packet Loss in the Winsock
> Performance CETK Test use wince600 cetk tools.I found the two item is always
> fail.
> The fail log is as following:
> ReceiveServiceReponse() timed-out
> Communication between server and client failed; terminating test
> But If we use wince500 cetk tool to test Winsock Performance .The test case
> can pass.
> So I start study the differents of the wince500 test souce between wince500
> test souce.The Winsock test case setup two socket ,One for control socket use
> TCP ,another for work that can be use TCP or UDP.
> We found in wince500 ,the work socket setup use SO_KEEPALIVE mode.Wince600
> is not setup a SO_KEEPALIVE mode.Who please can give me some comments?
>

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 09:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.