Home Help Center

wiresize

leoangleoang Member
Hallo,
what is wiresize mean in throughput example given by IceE? how do we calculate it?
I create a struct with 6 string inside. so how should i calculate the wiresize?

Thanks

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Hi,

    You can see the over-the-wire size of your requests by enabling protocol tracing by starting your application with Ice.Trace.Protocol=1. This shows information on all the messages that are sent by Ice, including the message size.

    Regards,
    Dwayne
  • leoangleoang Member
    thanks for replying.
    where to enable Ice.Trace.Protocol?
  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Ice.Trace.Protocol is an Ice property.

    There are different ways to set Ice properties. For example, if you pass argc/argv to initialize() when creating a communicator, you can add the --Ice.Trace.Protocol=1 option (when starting your program) to set this property.

    Regards,
    Bernard
Sign In or Register to comment.