General :: Calculating Handoff Latency In Mobile Ipv6 Environment
Nov 30, 2010
i have installed ns 2.33 and added the patch mobiwan for supprting mobile ipv6. i ran some tcl scripts , and below is the trace file generated. calculate the handoff latency, and if someone has awk or perl script to do so, tcl file [URL] out.tr [URL]
View 1 Replies
ADVERTISEMENT
Dec 1, 2010
i have installed ns2.33 and added mobiwan , i tried to run tcl script after modifyng simple tcl which i have got along mobiwan patch, but the problem is after creating some nodes and setting their positions in the tcl, according to my topology, i tried to run , but the command i have included in tcl , which sets the positions for mobile nodes, has no effect , which means that the positions of the mobile nodes is already fixed , trough tcl i am not able to change , and also each time when i run nam , different positions mobile nodes taking, and also the mobile node is not moving , even if i have given mobility to it, at different time , i have given different destinations.this is part of tcl in which i have set positions mobile node.
Code:
set cn_ [create-router 0.0.0]
set router_ [create-router 1.0.0]
set bs1_ [create-base-station 1.1.0 1.0.0 200 200 0]
set bs2_ [create-base-station 1.2.0 1.1.0 200 600 0]
set bs3_ [create-base-station 1.3.0 1.2.0 600 200 0]
code....
View 4 Replies
View Related
Aug 27, 2010
In an IPv6 test environment I have installed an openSUSE 11.2 system. I have also installed telnet and it works with IPv4 (I can open a session from a Windows console with "telnet ipv4addr").
If I try to open a session with "telnet ipv6addr" I get the response: "Connecting To ipv6addr. Could not open connection to the host, on port 23: Connect failed".
Does the telnetserver support IPv6 or did I something wrong?
View 4 Replies
View Related
May 21, 2010
installing the software BluePad, which allows a user to control their desktop environment with a Java-enabled mobile phone. I am still adjusting to Fedora (and some other Linux distros) from Windows and I am unfamiliar with installing and executing software programs. Also, if you could also include any pre-requirements involved in the installation..
View 3 Replies
View Related
Jun 28, 2011
how can i make my samsung e1410 mobile compatible with mobile internet in Ue 2.9
View 1 Replies
View Related
Sep 4, 2010
How do I find out the memory bandwidth/latency to RAM of the machine?
View 3 Replies
View Related
May 13, 2010
What originally seemed like an easy thing to calculate has given me a big headache. Perhaps someone can help me with my issue. I am trying to find, in particular, how much memory certain application processes are taking. The process always is the same name, main_server, but with an argument to tell it what to do when running as a daemon.
When running the following command against all "main_server" processes, it produces a result in megabytes based on the output of the rss field in 'ps'.
Code:
CALC=0
for ea in
`ps -e -orss=,args= |
sort -b -k1,1n |
pr -TW$COLUMNS |
grep main_server |
grep -v "grep main_server" |
[Code]...
Currently I am left scratching my head. For capacity planning purposes, it would be nice to know how many more 'main_server' processes could run on the system without causing it to swap. Knowing the buffer and cache usage will go down as running processes demand more memory, I prefer to look at the free memory excluding cache and buffers. However, since 'ps' is reporting the processes are using more memory than free reports is in use without those things, I have no way to know how many more processes the system can support. I played around with different fields in 'ps', such as vsize, size, etc, but with no luck in matching up any numbers.
View 7 Replies
View Related
Feb 17, 2010
I'm trying to create a script that will find the bandwidth usage of certain protocols only. For example, SMTP. I would like it to just return a number. Is there a known command/parameters to output something like this?
View 2 Replies
View Related
Feb 17, 2011
I have a four-cores machine (core1,core2, core3, core4 ). I want to test the communication or latency between two cores (for example, core1 and core2; core3 and core4). Does anyone know how to write a code to test it under linux operating system?
View 1 Replies
View Related
Apr 22, 2010
Program code as how to measure interrupt latency..
View 2 Replies
View Related
Jun 30, 2011
When I run df it shows the root device is full.
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 9.4G 0 100% /
I looked at the inode usage and there is pretty much space available for root device
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda1 640K 103K 538K 16% /
But, when I run the du command, it shows I have used only 2G out of 9.9G.
ip-10-204-70-44:/$ du -xh --max-depth=1
14M ./etc
4.0K ./mnt[code]....
It just driving me crazy and interesting too. This is big problem for us since the root disk / is full and some of the function in our site is failing.
View 2 Replies
View Related
Jul 22, 2009
I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?
View 2 Replies
View Related
Aug 31, 2011
I have been struggling to get FC15 to act as an IPv6 router for a while now, am sure I am missing something trivial.. The idea is that I have a ppp / adsl connection (this works fine), use the wireless card on my pc with hostapd and dhcpd to provide connections to other pcs (works fine), and radvd to delegate ipv6 addresses.
The issue seem to be that as soon as I turn on ipv6 forwarding (net.ipv6.conf.all.forwarding =1), the ppp connection no longer gets an IPv6 address. This means the router cannot ping any ipv6 address outside my network.
If I disable ipv6 routing, my router gets an IPv6 address on its ppp connection, and can ping things such as ipv6.google.com just fine, however (of course) no packets are forwarded from my network and radvd complains that forwarding is disabled.
View 1 Replies
View Related
Aug 9, 2010
I'm looking for an open source/free network emulator tool that I could use on Mac OS X, to simulate a slow network connection, limited bandwidth and other network characteristics such as dropped packets etc for both UDP/TCP connections (or even on the physical layer).
I'm looking for the simplest solution that would allow me to run TCP/UDP servers and have a few clients connect to them on localhost emulating various network connections. I'm mainly wondering if I can use something like Linux's netem on Mac OS X (or even better cross-platform Windows/Linux/Mac). Perhaps I can run VirtualBox and a Linux kernel running netem, has anyone had luck with that?[URL]...
View 2 Replies
View Related
Sep 14, 2011
I'm hoping to find an existing Linux tool for measuring latency:
I'm trying to diagnose how much latency my OS and NIC card are adding to TCP latency in Linux. I looked at the following tools but all (at least at the surface level) measured bandwidth (Mbps/sec) rather than latency (nanoseconds for transmition of 1 packet of size x).
If I were to write a custom test, it would likely do the following:
Client:
Create a fake message of the specified length with some padding for an incrementing identifier. Open a TCP connection (with the right parameters like TCP_NODELAY, etc) Loop and send messages containing an incrementing identifier. Store the current system time (in nanos) associated with the identifier. Listen for responses, record the current time and record the latency of that identifier asynchronously Server Listen for a connection Echo back any message received
Assuming both boxes had the same setup (configs, cards, OS, CPU, etc), are relatively close to eachother in the network, and one knows roughly the network's latency contribution, one could get a rough estimate of the OS + NIC contribution and begin testing various configurations.
One could also get a more accurate picture of the latency by using a network sniffer and snooping on the lines between the two hosts, calculating the latency between the two sides for an ID, and then subtracting that from the internally measured latency.
View 3 Replies
View Related
Sep 10, 2009
Actually i m new to scripting in Linux, we have RedHat Server Edition 4 in which different software licences are installed and software itself installed at client side. the usage of the software is recorded daily in a text file which is of format
I want to write a script that checks that for any OUT & IN, if utility, user and Client PC Name are same then subtract OUT Time from IN Time. This has to be done for each & every user and utility.Is there any GUI programming possible in Linux.
View 7 Replies
View Related
Apr 23, 2010
I am new to shell script and to this form as well, I did try to search for a similar post like mine here, but could not find one.
Here is what I'm trying to do:
I am trying to grep server logs to find a specific string and then capture the time stamp and the value of that grep string in them. The log file prints out messages on per sec basis.
My script is able to grep the server logs for the entire period of my load runs and then outputted it to a .csv file too.
Unfortunately this .csv file is too large to extract it on my PC and to generate graphs as it exceeds the excel limit. I need some help on how to read this .csv file in a shell script and then take an average on per min basis before I can export it out on my desktop and generate graphs for analysis. example of the out in my .csv file:
View 1 Replies
View Related
Dec 2, 2010
I have an array called arrayini which stores numbers. I want to take log to the base 2 of each of the numbers in that array and put it in file called result. I've used the following code to do it.
Code:
size=${#arrayini[@]}
for ((i=0;i<size;i++))
do
echo "scale = 12; l(${arrayini[$i]})/l(2)" | bc -l
done >result
It works fine but its taking pretty long to calculate since I've got about 230,000 items in the array. So I decided to store the result into an array hoping that it'd be faster. I tried the following code. arrayresult is where I try and store the result. The code doesn't work because of the second last line.
Code:
unset arrayresult
size=${#arrayini[@]}
for ((i=0;i<size;i++))
do
arrayresult[$i]="scale = 12; l(${arrayini[$i]})/l(2)" | bc -l
done >FILE2
There is a syntax error clearly.
View 6 Replies
View Related
Oct 17, 2010
i am using samsung S3310 with aircel when i am connecting new mobile broadband connection my device is not identifying ,so that i cant connect Internet.but everything okay i mean settings in mobile and pc. for same connection i used Nokia mobile its identified and Internet was connected but samsung mobile is not identifying in terminal i typed LSUSB my device is shown in that.
View 9 Replies
View Related
Aug 29, 2010
I just want to tell everyone how good the Garmin/Asus A10 mobile phone is as an internet modem.I am in Australia and Mobile internet is an expensive thing to have. cheapest is dodo but i had a few problems trying out a friends usb modem.Anyway i was in the market for a Gps phone and discover this one. it is Android phone and pretty cheap so far it is very good gps, camera, mp3, and phone is excellent.BUT here is the clincher. when you plug it into the computer, the phone screen lights up and gives you 3 options.
View 1 Replies
View Related
Feb 21, 2011
I have read many articles on hdparam to calculate the disk read and write speeds and some on interface and CPU limits. But is there a structured way of calculating the maximum throughput of a server including all the subsystems. Like storage, CPU, network, memory and so on? So that I can create a script that i can run on a newly installed Linux machine and calculate the maximum throughput .
View 4 Replies
View Related
Oct 4, 2010
calculating the IOPS for my system ?I had understood that IOPS could be calculated by monitoring IOSTAT. The r/s (reads/sec) and w/s (write/sec) combined basically gave you the peak IOPS.However having monitored iostat for my app during a performance test, the figures I'm seeing lead me to believe that iostat couldn't be a reliable way to calculate IOPS. I get values of over 10,000 for w/s! I didn't think this was possible given the storage system i have (4 x 7500rpm sata disks in raid 5).
View 1 Replies
View Related
Jan 27, 2010
With array in php. All I was having the following columns:
Code:
Now Like the Above there were more variables defined through script:
Code:
Now what the above code is doing is calculating average of above values from columns{1-?,4-?)..likewise
Say If I remove two Machine and calculate the avg.
View 1 Replies
View Related
Jul 29, 2011
I want to add an ipv6 address in linux.
i am going to use the following command.
# /sbin/ifconfig <interface> inet6 add <ipv6address>/<prefixlength>
Can anyone explain how this command will works?
Is that prefix length value is fixed to 64 or is it vary?if so,can you explain how it could be?
View 3 Replies
View Related
Jun 12, 2010
I'm getting close to ordering the components for a new machine based on the AMD Deneb quad core and had one last question.I'd like to try a little careful overclocking, not only for the performance increase but also to learn how. Nothing extreme, no gaming, just whatever I can get with good stability with the stock heatsink and fan.I was going to get 8GB on 2x4GB strips but they are all CAS latency 9. The MB has 4 slots for a total of 16GB capacity. Would I be better off going with 4x2GB strips and try to get a lower latency strip like maybe 7?
View 5 Replies
View Related
Jul 16, 2010
Recently I was trying to make a quick script for calculating payment between workers. I got stuck however. Here is what I am in for...
#!/bin/bash
#Setting the calculator
calc=` bc << EOF
scale=4
a=$2*($3/100)
b=$4
a/b
EOF
`
I've saved the $1 for further script.
#Creating the script
while [ -n $1 ]
do
case $1 in
workerA) read -p "Enter the total sum: " total
total=$2;
read -p "Enter the percentage:" percent
percent=$3;
read -p "Enter number of workers:" workers
workers=$4 ;;
*) echo "Error usage!"
break
esac
done
My script ends here. It just does not work. Did I sat the vars in the wrong way?
View 5 Replies
View Related
Apr 25, 2010
I'm trying to write a python script that will calculate my test scores from a text file named "exams."
Sample input would be:
Output will look like:
I have the following code:
Code:
My intent is to sum the values found in L and divide by len(L).
I think my issue is that when I split the values, I get a string array (ex. ['85', '90'] ), which makes it hard to do calculations.
View 5 Replies
View Related
Mar 25, 2011
I'm writing a script which will calculate bandwidth usage, I'm monitoring the bandwidth with cacti and the results don't quite line up, can someone either correct my script (if it contains faults) or tell me why the results aren't the same. I'm using a guide obtained from cisco here: [URL]. Here's my code:
Code:
SNMPCOMMUNITY=public
IP=127.0.0.1
INTNUMBER=1
OUT=$(snmpget -v2c -c $SNMPCOMMUNITY $IP ifOutOctets.$INTNUMBER | awk '{print $4}')
[Code]....
View 2 Replies
View Related
Jun 14, 2011
What determines whether I should enable ipv6 when installing Linux? so not sure whether it depends on my ISP, my hardware (network card or modem or router), my Linux kernel, my CentOS version (5.6), my requirements, etc.
So I'm not sure whether or not I should enable it. And if I were to, in the CentOS installation screen would I select 'Automatic neighbor discovery' or 'Dynamic IP configuration' or 'Manual configuration'?
View 1 Replies
View Related
Feb 26, 2011
As I am trying to understand if there are any advantages using a kernel optimized to have low latency for the desktop, it would very helpful if anyone using one could give me his opinion. I read about the liquorix kernel and found a controversy and used google to find more information.
View 2 Replies
View Related