root@ubuntu:/home/acer/code/LDTS/proposedl# cat out.tr|perl analyze.pl AODV Sent : 320 ftODV
Recv : 1333 Data Sent : 600 Data
Recv : 568 Packet Drop : 41 Delivery Ratio : 94.6666666666667 V.
Such definitions require additional parameters, used by MPI to recognize regular patterns of subsets of F and to group and collect them out of F in a Send routine, or to fill in F appropriately with an incoming data flush in a Recv routine.
The drawback of such a choice is that it requires p calls to the Send and Recv routines, with the bad side effect of amplifying the latency time by the same factor p.
For these stencil computations involving shifts, individual calls to send and
recv primitives are very efficient.
a= relay path:
recv 3 4321 IP4:192.168.139.102:45671
Here, we concentrate on the computation of a communication set called
RECV. The actual send and
recv sets used by the code generator are produced in a later pass of the compiler from the
RECV sets discussed here using two projection functions as explained in Section 5.
[N.sub.n] be the number of source nodes Let [N.sub.ie] be the residual energy of source nodes Let CH be the cluster head CH() { If([N.sub.ie] is the highest among all other [N.sub.i-1]) Elect [N.sub.i] as CH(); Else [N.sub.i] is simpleSensorNode(); } [N.sub.i]() { sendRouteRequest();
recv RouteReply(); forwardPacketToNeighbor(); } GN() { switch(Case) Case 1: Flooding { sendLargeNumberOfFakeRouteRequest();} Case 2: Blackhole { sendfakeRouteReply(); disableRouteError(); recvPackets(); dropPackets(); } Case 3: Grayhole { sendfakeRouteReply(); disableRouteError(); recvPackets(); dropPackets for an interval [T.sub.b] (); } } Flooding attacker node exhausts the network resources in terms of bandwidth and energy.
CPU sys Processes executing in kernel mode CPU Usr Processes executing in user mode CPU wait Processes waiting in queue Disk read Disk read in progress Disk write Disk write in progress Frg Socket IP fragments IO read IO read requests IO write IO write requests Load 1m Load statistics for 1 minute Load 5m Load statistics for 5 minutes Load 15m Load statistics for 15 minutes Mem Used Memory Used Mem buff Memory buffered Mem free Memory free Network
recv Network received bytes Process blk Process Uninterruptable Process new Process New Process run Process Runnable SDButil Storage Disk B utilization Sockets raw Raw Sockets System CSW System Context Switches TCP Clo TCP Close TCP syn TCP Syn TCP time TCP Time wait VM majpf VM maj page faults VM minpf VM minj page faults Table 2.
[S.sub.1] = pthread_create.[S.sub.0] + pthread_create.[S.sub.2] + close.[S.sub.7] = pthread_create.([S.sub.0] + [S.sub.2]) + close.[S.sub.7] = pthread_create.[S.sub.8] + close.[S.sub.7] [S.sub.8] = [S.sub.0] + [S.sub.2] = accept.[S.sub.1] +
recv.[S.sub.3]