Results 1 to 6 of 6

Thread: IceE latency time

  1. #1
    leoang is offline Registered User
    Join Date
    Jun 2006
    Location
    klang
    Posts
    21

    IceE latency time

    Hallo,
    I just finish running IceE latency example between 2 computers (one is server, the other one is client). Average time for 10 ping in Ice is 1.221ms. The average time for 10 ping in linux is just 0.12ms.
    How come the IceE ping is so much higher than normal ping?
    *p/s: I am using RedHat 9.
    Leo Ang
    Multimedia University (http://www.mmu.edu.my)
    Latency test.

  2. #2
    leoang is offline Registered User
    Join Date
    Jun 2006
    Location
    klang
    Posts
    21
    I am using RedHat9, IceE 1.1.0, my code in C++.
    Hardware : Pentium 4 2.66, 512 ram.
    Leo Ang
    Multimedia University (http://www.mmu.edu.my)
    Latency test.

  3. #3
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    It's not clear from your post what you compared. If you compared Ice and Ice-E, which Ice version did you use? Were the 2 machines Linux machines with the spec you mentioned in your second post? Which test did you use, the demo/Ice/latency and demo/IceE/latency demos? Also, what kind of network connects the 2 machines?

    Ice-E latency should in theory be faster than Ice, however, both might have about the same latency over a slow network. That is, both runtime will spend most of the time waiting for the network (and the time spent by the runtime to send a request is small compared to this).

    Cheers,
    Benoit.

  4. #4
    leoang is offline Registered User
    Join Date
    Jun 2006
    Location
    klang
    Posts
    21
    thanks benoit.

    both pc with pentium 4 2.66, 512 ram, red hat 9.0.
    both pc are connected with class C network.
    i am running on IceE 1.1.0. and i am comparing the latency with the ping function which is build in by red hat.
    i run the /demo/IceE/latency which come with IceE.
    i attach the screenshot with this post.
    Attached Images Attached Images
    Leo Ang
    Multimedia University (http://www.mmu.edu.my)
    Latency test.

  5. #5
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Two issues:
    • You shouldn't run the test with only 10 pings. In such case, you measure mainly the time it initially takes to establish a connection.
    • Whenever you run a performance test, you should use an optimized version of Ice or Ice-E, and compile your own code with optimization, too (i.e., use -O, not -g).

  6. #6
    leoang is offline Registered User
    Join Date
    Jun 2006
    Location
    klang
    Posts
    21
    thanks marc.
    i try with 100 ping and now ice is faster.
    Leo Ang
    Multimedia University (http://www.mmu.edu.my)
    Latency test.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 08-19-2009, 01:21 PM
  2. latency result
    By leoang in forum Help Center
    Replies: 12
    Last Post: 07-21-2006, 07:01 AM
  3. Replies: 2
    Last Post: 07-02-2006, 09:27 PM
  4. Round-Trip Latency
    By chuckmo in forum Comments
    Replies: 5
    Last Post: 02-19-2006, 08:29 AM
  5. Java/C#/C++ latency comparison
    By johnstv3 in forum Help Center
    Replies: 3
    Last Post: 09-13-2005, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •