[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ErrorModel rate_???
Thanks Lloyd,
I changed it to byte and convert the bit error rate to
byte error rate . but i still have the same problem.
I think neither c++ nor TCL is sensitive to real numbers
after 6 digits.
How can I increase it?
I will show my simulation results:
Bit error rate = 0
Byte error rate = 0.0
Throughput for TCP connection = 7891200.0 Mbps
Bit error rate = 1e-6
Byte error rate = 7.999972000294342e-06
Throughput for TCP connection = 7815360.0 Mbps
Bit error rate = 1e-7
Byte error rate = 7.9999971958066851e-07
Throughput for TCP connection = 7891200.0 Mbps
Simulation time 50sec.
I have some dropped packets if BER is 10^-06
but if I increase it, no packet is dropped.
I want to see the effect of BER=10^-08
in my simulation though.
Thanks,
Fusun Inanc
> > I am using ErrorModel agent in my simulation. And I want to
> > create a link which has a bit error rate of 1e-08.
> >
> > If I set the rate
> >
> > $loss_module1 set rate_ 1e-05
> >
> > it drops packets.
>
> If you don't specify the error rate as anything, it's packet rate
> (pkt), not bit rate.
>
> I think you need to translate your BER into an approximately
> equivalent byte error rate, and do
>
> $lossmodule unit byte
>
> first. (the end of nsDoc 12.1 says something about "either in packets
> of bits", which is extremely misleading, and imo needs fixing.)
>
> L.
>
>
> > But if I set it to 1e-06 , 1e-07 and so on, It doesn't do anything.
> > I run the simulation 50 sec.
> >
> > Is there a way to make the error rate more sensitive?
> >
> > Thanks in advance...
> >
> > Fusun Inanc
>
> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
>