Skip to content

Commit

Permalink
Use QPSK3/5 normal FECFRAME on BCH bench examples
Browse files Browse the repository at this point in the history
  • Loading branch information
igorauad committed Oct 29, 2023
1 parent fa2ed9c commit bd88512
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions bench/fec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ bench/fec/bench_bch --enc 1 --dec 1
bench/fec/bench_bch --enc 2 --dec 2
```

To isolate the decoder performance, you may want to use the same encoder while varying the decoder implementation. For instance:
To isolate the decoder performance, you may want to use the same encoder while varying the decoder implementation. Also, you may want to investigate the performance with a particular MODCOD. The following examples are based on QPSK3/5 with normal FECFRAME:

- `bench/fec/bench_bch --enc 0 --dec 0 --nframes 10000`
- `bench/fec/bench_bch --enc 0 --dec 1 --nframes 10000`
- `bench/fec/bench_bch --enc 0 --dec 2 --nframes 10000`
- `bench/fec/bench_bch --enc 2 --dec 0 --nframes 1000 --fe 1000 --n 38880 --k 38688 --t 12`
- `bench/fec/bench_bch --enc 2 --dec 1 --nframes 1000 --fe 1000 --n 38880 --k 38688 --t 12`
- `bench/fec/bench_bch --enc 2 --dec 2 --nframes 1000 --fe 1000 --n 38880 --k 38688 --t 12`

> Note: Make sure to compile gr-dvbs2rx in Release mode so that the best performance is achieved, as instructed [previously](#dependencies).
The following results were obtained with the above commands using `--enc 0` and varying the decoders on an Apple M2 Max CPU:
The following results were obtained with the above commands on an Apple M2 Max CPU:

AFF3CT decoder:

Expand All @@ -173,16 +173,16 @@ AFF3CT decoder:
# Es/N0 | Eb/N0 || FRA | BE | FE | BER | FER || SIM_THR | ET/RT
# (dB) | (dB) || | | | | || (Mb/s) | (hhmmss)
# ----------|----------||----------|----------|----------|----------|----------||----------|----------
-0.08 | 0.00 || 100 | 76626 | 100 | 8.02e-02 | 1.00e+00 || 9.830 | 00h00'00
0.92 | 1.00 || 100 | 55202 | 100 | 5.78e-02 | 1.00e+00 || 9.714 | 00h00'00
1.92 | 2.00 || 100 | 36867 | 100 | 3.86e-02 | 1.00e+00 || 9.817 | 00h00'00
2.92 | 3.00 || 100 | 22921 | 100 | 2.40e-02 | 1.00e+00 || 9.784 | 00h00'00
3.92 | 4.00 || 100 | 12624 | 100 | 1.32e-02 | 1.00e+00 || 9.928 | 00h00'00
4.92 | 5.00 || 100 | 6070 | 100 | 6.35e-03 | 1.00e+00 || 9.163 | 00h00'00
5.92 | 6.00 || 100 | 2469 | 100 | 2.58e-03 | 1.00e+00 || 9.746 | 00h00'00
6.92 | 7.00 || 1320 | 1369 | 100 | 1.09e-04 | 7.58e-02 || 10.272 | 00h00'01
7.92 | 8.00 || 10000 | 0 | 0 | 1.05e-08 | 1.00e-04 || 10.730 | 00h00'08
8.92 | 9.00 || 10000 | 0 | 0 | 1.05e-08 | 1.00e-04 || 11.338 | 00h00'08
-0.02 | 0.00 || 1000 | 3062751 | 1000 | 7.92e-02 | 1.00e+00 || 10.017 | 00h00'03
0.98 | 1.00 || 1000 | 2195353 | 1000 | 5.67e-02 | 1.00e+00 || 10.171 | 00h00'03
1.98 | 2.00 || 1000 | 1462224 | 1000 | 3.78e-02 | 1.00e+00 || 10.071 | 00h00'03
2.98 | 3.00 || 1000 | 896256 | 1000 | 2.32e-02 | 1.00e+00 || 10.009 | 00h00'03
3.98 | 4.00 || 1000 | 492174 | 1000 | 1.27e-02 | 1.00e+00 || 10.045 | 00h00'03
4.98 | 5.00 || 1000 | 235704 | 1000 | 6.09e-03 | 1.00e+00 || 10.041 | 00h00'03
5.98 | 6.00 || 1000 | 94120 | 1000 | 2.43e-03 | 1.00e+00 || 10.049 | 00h00'03
6.98 | 7.00 || 1000 | 30618 | 1000 | 7.91e-04 | 1.00e+00 || 10.057 | 00h00'03
7.98 | 8.00 || 1000 | 823 | 60 | 2.13e-05 | 6.00e-02 || 10.457 | 00h00'03
8.98 | 9.00 || 1000 | 0 | 0 | 2.58e-08 | 1.00e-03 || 11.018 | 00h00'03
```

Old gr-dvbs2rx decoder:
Expand All @@ -196,16 +196,16 @@ Old gr-dvbs2rx decoder:
# Es/N0 | Eb/N0 || FRA | BE | FE | BER | FER || SIM_THR | ET/RT
# (dB) | (dB) || | | | | || (Mb/s) | (hhmmss)
# ----------|----------||----------|----------|----------|----------|----------||----------|----------
-0.08 | 0.00 || 100 | 76626 | 100 | 8.02e-02 | 1.00e+00 || 11.429 | 00h00'00
0.92 | 1.00 || 100 | 55202 | 100 | 5.78e-02 | 1.00e+00 || 11.449 | 00h00'00
1.92 | 2.00 || 100 | 36867 | 100 | 3.86e-02 | 1.00e+00 || 11.472 | 00h00'00
2.92 | 3.00 || 100 | 22921 | 100 | 2.40e-02 | 1.00e+00 || 11.461 | 00h00'00
3.92 | 4.00 || 100 | 12624 | 100 | 1.32e-02 | 1.00e+00 || 11.458 | 00h00'00
4.92 | 5.00 || 100 | 6070 | 100 | 6.35e-03 | 1.00e+00 || 11.329 | 00h00'00
5.92 | 6.00 || 100 | 2469 | 100 | 2.58e-03 | 1.00e+00 || 11.269 | 00h00'00
6.92 | 7.00 || 1320 | 1369 | 100 | 1.09e-04 | 7.58e-02 || 11.460 | 00h00'01
7.92 | 8.00 || 10000 | 0 | 0 | 1.05e-08 | 1.00e-04 || 13.172 | 00h00'07
8.92 | 9.00 || 10000 | 0 | 0 | 1.05e-08 | 1.00e-04 || 14.030 | 00h00'06
-0.02 | 0.00 || 1000 | 3062751 | 1000 | 7.92e-02 | 1.00e+00 || 14.174 | 00h00'02
0.98 | 1.00 || 1000 | 2195353 | 1000 | 5.67e-02 | 1.00e+00 || 14.497 | 00h00'02
1.98 | 2.00 || 1000 | 1462224 | 1000 | 3.78e-02 | 1.00e+00 || 14.629 | 00h00'02
2.98 | 3.00 || 1000 | 896256 | 1000 | 2.32e-02 | 1.00e+00 || 14.522 | 00h00'02
3.98 | 4.00 || 1000 | 492174 | 1000 | 1.27e-02 | 1.00e+00 || 14.292 | 00h00'02
4.98 | 5.00 || 1000 | 235704 | 1000 | 6.09e-03 | 1.00e+00 || 14.315 | 00h00'02
5.98 | 6.00 || 1000 | 94120 | 1000 | 2.43e-03 | 1.00e+00 || 14.410 | 00h00'02
6.98 | 7.00 || 1000 | 30618 | 1000 | 7.91e-04 | 1.00e+00 || 14.329 | 00h00'02
7.98 | 8.00 || 1000 | 823 | 60 | 2.13e-05 | 6.00e-02 || 14.503 | 00h00'02
8.98 | 9.00 || 1000 | 0 | 0 | 2.58e-08 | 1.00e-03 || 19.312 | 00h00'02
```

New gr-dvbs2rx decoder:
Expand All @@ -219,14 +219,14 @@ New gr-dvbs2rx decoder:
# Es/N0 | Eb/N0 || FRA | BE | FE | BER | FER || SIM_THR | ET/RT
# (dB) | (dB) || | | | | || (Mb/s) | (hhmmss)
# ----------|----------||----------|----------|----------|----------|----------||----------|----------
-0.08 | 0.00 || 100 | 76671 | 100 | 8.03e-02 | 1.00e+00 || 16.364 | 00h00'00
0.92 | 1.00 || 100 | 55244 | 100 | 5.78e-02 | 1.00e+00 || 16.434 | 00h00'00
1.92 | 2.00 || 100 | 36915 | 100 | 3.86e-02 | 1.00e+00 || 16.399 | 00h00'00
2.92 | 3.00 || 100 | 22972 | 100 | 2.40e-02 | 1.00e+00 || 16.469 | 00h00'00
3.92 | 4.00 || 100 | 12691 | 100 | 1.33e-02 | 1.00e+00 || 16.623 | 00h00'00
4.92 | 5.00 || 100 | 6117 | 100 | 6.40e-03 | 1.00e+00 || 16.742 | 00h00'00
5.92 | 6.00 || 100 | 2516 | 100 | 2.63e-03 | 1.00e+00 || 16.588 | 00h00'00
6.92 | 7.00 || 1320 | 1422 | 100 | 1.13e-04 | 7.58e-02 || 18.613 | 00h00'00
7.92 | 8.00 || 10000 | 0 | 0 | 1.05e-08 | 1.00e-04 || 22.206 | 00h00'04
8.92 | 9.00 || 10000 | 0 | 0 | 1.05e-08 | 1.00e-04 || 24.396 | 00h00'03
-0.02 | 0.00 || 1000 | 3063231 | 1000 | 7.92e-02 | 1.00e+00 || 27.421 | 00h00'01
0.98 | 1.00 || 1000 | 2195881 | 1000 | 5.68e-02 | 1.00e+00 || 27.665 | 00h00'01
1.98 | 2.00 || 1000 | 1462750 | 1000 | 3.78e-02 | 1.00e+00 || 27.925 | 00h00'01
2.98 | 3.00 || 1000 | 896832 | 1000 | 2.32e-02 | 1.00e+00 || 27.798 | 00h00'01
3.98 | 4.00 || 1000 | 492725 | 1000 | 1.27e-02 | 1.00e+00 || 27.633 | 00h00'01
4.98 | 5.00 || 1000 | 236306 | 1000 | 6.11e-03 | 1.00e+00 || 27.292 | 00h00'01
5.98 | 6.00 || 1000 | 94727 | 1000 | 2.45e-03 | 1.00e+00 || 27.568 | 00h00'01
6.98 | 7.00 || 1000 | 31210 | 1000 | 8.07e-04 | 1.00e+00 || 27.950 | 00h00'01
7.98 | 8.00 || 1000 | 865 | 60 | 2.24e-05 | 6.00e-02 || 34.055 | 00h00'01
8.98 | 9.00 || 1000 | 0 | 0 | 2.58e-08 | 1.00e-03 || 48.379 | 00h00'00
```

0 comments on commit bd88512

Please sign in to comment.