Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO-Net4j] Measuring bandwidth of Net4j+CDO
[CDO-Net4j] Measuring bandwidth of Net4j+CDO [message #986224] Mon, 19 November 2012 14:02 Go to next message
Guido Scalise is currently offline Guido ScaliseFriend
Messages: 16
Registered: April 2012
Junior Member
Hello!
has anybody tried measuring net4j's bandwidth/network stats when dealing with CDO connections? I've been looking through net4j's API to check if there's any management interface to query for network stats but I couldn't find any.

I assume I can use some tcpdump based scripts, but having this info on a management interface would help to integrate this stats into a client.

Regards,
Guido
Re: [CDO-Net4j] Measuring bandwidth of Net4j+CDO [message #986226 is a reply to message #986224] Mon, 19 November 2012 14:10 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi,

I recently looked into this a bit (To get an understanding of B/W as well).
I tried a couple of things. First you can turn on tracing on Net4j, this will dump information on channels, streams, buffers. So it could give you an ID of what is happening. You would need to backward engineer the dumps, to make statistics out of it.

I also took a trace with Wireshark on the port 2036 (Which is the default I believe for TCP).
Wireshark coudn't interpret the Net4J, but perhaps it would be doable to create such a Wireshark dissector: http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html
(It's C, so a bit of IDE setup would be needed).

What would be needed is some basic description of is to be expected on the wire.
Cheers Christophe

Re: [CDO-Net4j] Measuring bandwidth of Net4j+CDO [message #986229 is a reply to message #986226] Mon, 19 November 2012 14:24 Go to previous messageGo to next message
Guido Scalise is currently offline Guido ScaliseFriend
Messages: 16
Registered: April 2012
Junior Member
I thought about checking it with Wireshark, too... after all, what I'd
like to know is the average b/w needed for our application's operations,
so I can have a better understanding on our app's b/w requirements and
discover any limitations in infrastructure due to these requirements.

OTOH, having this at a Net4J level would help to better isolate and
identify different scenarios that could appear... for instance, it might
be interesting to identify b/w due to delta notifications vs b/w due to
model access/modification, and then make some tests to know how this
might be affected by the number of concurrent clients working on a model.

I could create the dissector, it doesn't seem hard at all, but I don't
know if the info I could obtain from it would be as useful as having the
same info directly on net4j.

/Guido

El 19/11/2012 15:10, Christophe Bouhier escribió:
> Hi,
> I recently looked into this a bit (To get an understanding of B/W as
> well). I tried a couple of things. First you can turn on tracing on
> Net4j, this will dump information on channels, streams, buffers. So it
> could give you an ID of what is happening. You would need to backward
> engineer the dumps, to make statistics out of it.
> I also took a trace with Wireshark on the port 2036 (Which is the
> default I believe for TCP). Wireshark coudn't interpret the Net4J, but
> perhaps it would be doable to create such a Wireshark dissector:
> http://www.wireshark.org/docs/wsdg_html_chunked/ChDissectAdd.html
> (It's C, so a bit of IDE setup would be needed).
> What would be needed is some basic description of is to be expected on
> the wire. Cheers Christophe
>
>
Re: [CDO-Net4j] Measuring bandwidth of Net4j+CDO [message #986290 is a reply to message #986224] Mon, 19 November 2012 18:23 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5574
Registered: July 2009
Senior Member
Hi Guido,

I like the idea of having this kind of data available at the Net4j API level but there's not much, yet. An
ISignalProtocol fires SignalScheduledEvents and SignalFinishedEvents (I use them in the new offline example application
to visualize the fail-over heartbeat signals) but they don't know/carry payload sizes. An IChannel fires SendQueueEvents
but, again, those do not allow to derive paylod sizes. Maybe these infos give you some ideas. If you want to work on a
contributable patch I'd be happy to review it.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 19.11.2012 15:02, schrieb Guido Scalise:
> Hello!
> has anybody tried measuring net4j's bandwidth/network stats when dealing with CDO connections? I've been looking
> through net4j's API to check if there's any management interface to query for network stats but I couldn't find any.
>
> I assume I can use some tcpdump based scripts, but having this info on a management interface would help to
> integrate this stats into a client.
>
> Regards,
> Guido
Previous Topic:[ANN]: Code Generation 2013 Call for Speakers now open
Next Topic:Referenced Models Navigation
Goto Forum:
  


Current Time: Fri Nov 28 09:05:38 GMT 2014

Powered by FUDForum. Page generated in 0.02244 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software