Hi Jasvinder, 

The CMakelist.txt files before and after applying the patch are exactly the 
same and hqos plugin is already enabled but the CLI commands are still not 
showing. Below is the screenshot of the CMakelist.text file located at 
/root/vpp/src/plugins/dpdk: 





Thank you and best regards,
 
Abeeha Aqeel
Network Design Engineer
Xflow Research Inc.
+923245062309 (GMT+5)
abeeha.aq...@xflowresearch.com
www.xflowresearch.com



From: Singh, Jasvinder
Sent: Friday, May 10, 2019 2:58 PM
To: Ni, Hongjun; Abeeha Aqeel
Cc: Byrne, Stephen1; Dumitrescu, Cristian
Subject: RE: [vpp-dev] HQoS

+ Cristian

From: Singh, Jasvinder 
Sent: Friday, May 10, 2019 10:52 AM
To: Ni, Hongjun <hongjun...@intel.com>; Abeeha Aqeel 
<abeeha.aq...@xflowresearch.com>
Cc: Byrne, Stephen1 <stephen1.by...@intel.com>
Subject: RE: [vpp-dev] HQoS

Hi Abeeha,

Looks like HQoS module is disabled in current VPP dpdk plugin (Check 
CMakelist.txt). Please trying enabling it first. You should see HQoS related 
CLIs on the console.

Thanks,
Jasvinder


From: Ni, Hongjun 
Sent: Friday, May 10, 2019 2:47 AM
To: Abeeha Aqeel <abeeha.aq...@xflowresearch.com>; Singh, Jasvinder 
<jasvinder.si...@intel.com>
Subject: RE: [vpp-dev] HQoS

Hi Jasvinder,

Could you help to look into this issue?   Thank you!

Thanks,
Hongjun

From: Abeeha Aqeel [mailto:abeeha.aq...@xflowresearch.com] 
Sent: Thursday, May 9, 2019 6:02 PM
To: Ni, Hongjun <hongjun...@intel.com>; Singh, Jasvinder 
<jasvinder.si...@intel.com>
Cc: b...@xflowresearch.com; vpp-dev@lists.fd.io
Subject: RE: [vpp-dev] HQoS

Hi Hongjun, 

I applied the patch submitted to fix the API change on vpp 19.04 using 
underlying dpdk 19.02, following the steps:


git clone https://gerrit.fd.io/r/vppHi Hongjun,

cd vpp
make wipe
make install-dep
make install-ext-deps
wget 
https://gerrit.fd.io/r/changes/16839/revisions/a62db7f3796ef152d23475ed36ad5f3fbfcab2a8/archive?format=tar
mv archive\?format\=tar a62db7f.tar
tar -xvf a62db7f.tar
make build
./vpp -c /root/go/src/github.com/xFlowResearch/BNG/vpp-startup.conf &
./vppctl

I also tried, git fetch and cherry-pick:

cd vpp
make wipe
make install-dep
make install-ext-deps
git stash
git fetch https://gerrit.fd.io/r/vpp refs/changes/39/16839/3 && git cherry-pick 
FETCH_HEAD  
make build
./vpp -c /root/go/src/github.com/xFlowResearch/BNG/vpp-startup.conf &
./vppctl

In both cases, the setup builds and starts properly but hqos plugin doesn’t 
work. Nor does the vpp debug CLI have the hqos commands, e.g. in this case it 
should have show dpdk interface hqos placement etc.


I am working on Centos 7 and have assigned 1024 2MB hugepages. I have also 
attached my vpp configuration file with this email. Please suggest what could 
be wrong and why the plugin is not loading properly.



Regards,
 
Abeeha Aqeel
Network Design Engineer
Xflow Research Inc.
+923245062309 (GMT+5)
abeeha.aq...@xflowresearch.com
www.xflowresearch.com



From: Abeeha Aqeel
Sent: Thursday, May 9, 2019 10:10 AM
To: Ni, Hongjun; Singh, Jasvinder
Cc: b...@xflowresearch.com; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] HQoS

Hi Hongjun,

Yes, sure. I will try the patch and share my results as soon as possible.


Regards,
 
Abeeha Aqeel
Network Design Engineer
Xflow Research Inc.
+923245062309 (GMT+5)
abeeha.aq...@xflowresearch.com
www.xflowresearch.com



From: Ni, Hongjun
Sent: Tuesday, May 7, 2019 6:40 PM
To: Abeeha Aqeel; Singh, Jasvinder
Cc: b...@xflowresearch.com; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] HQoS

Hi Abeeha,

There is a patch submitted to fix the API change.       
https://gerrit.fd.io/r/#/c/16839/
Could you help to give it a try?

Thanks,
Hongjun

From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Abeeha Aqeel
Sent: Monday, May 6, 2019 6:32 PM
To: Ni, Hongjun <hongjun...@intel.com>
Cc: b...@xflowresearch.com; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] HQoS

Hi Hongjun,

I have tested the HQoS Plugin with iperf3. Below is a simple topology I have 
implemented:
 

First, I tested the default profile (profile 0) provided by VPP and assigned it 
to all 4096 pipes (users) which should give approximately 2MB (10G/4096) to 
each user. It worked fine for 5 users i.e. each user was assigned 2MB but for 
an increased number of users it didn’t work the same way. I changed the token 
bucket rate, token bucket size and tc_period parameters in the hqos.c code 
which didn’t give me any concrete results. I have attached results for 10  
clients with different combinations of token bucket size, token bucket rate and 
tc_period.

Any ideas what the problem might be ? 

Also, in what proportion should the tb_rate, tb_size , tc_rate and tc_period  
be assigned? 


S#
Rate (Bytes per second)
Token Bucket Size (Bytes)
TC Period (ms)
Total no of PPPoE sessions
Expected Result (Cumulative average bandwidth in Mbps)
Actual Result (Cumulative average bandwidth in Mbps)
Comments

Subport
Pipe
Subport 
Pipe
Subport
Pipe




1
1250000000
305175
1000000
1000000
10
40
10
24.4
8.1
vpp remains stable
2
1250000000
305175
1000000
1000000
10
60
10
24.4
12.72
vpp remains stable
3
1250000000
305175
1000000
1000000
10
100
10
24.4
11.4
vpp remains stable
4
1250000000
305175
1000000
10000000
10
40
10
24.4
12.1
vpp remains stable
5
1250000000
305175
10000000
10000000
10
40
10
24.4
12.03
vpp remains stable
6
1250000000
305175
10000000
10000000
10
100
10
24.4
2.21
vpp crashes after a few seconds
7
1250000000
305175
1000000
1000000
10
60
10
24.4
12.1
vpp remains stable



Regards,
 
Abeeha Aqeel
Network Design Engineer
Xflow Research Inc.
+923245062309 (GMT+5)
abeeha.aq...@xflowresearch.com
www.xflowresearch.com



From: Ni, Hongjun
Sent: Monday, May 6, 2019 12:52 PM
Subject: RE: [vpp-dev] HQoS

Hi Abeeha,

For downstream bandwidth limiting, we leveraged HQos plugin in OpenBRAS 
solution.
In our previous integration test, it could support 64K subscribers with HQos.

Thanks,
Hongjun

From: vpp-dev@lists.fd.io [mailto:vpp-dev@lists.fd.io] On Behalf Of Abeeha Aqeel
Sent: Monday, May 6, 2019 3:28 PM
To: Ni, Hongjun <hongjun...@intel.com>
Cc: b...@xflowresearch.com; vpp-dev@lists.fd.io
Subject: [vpp-dev] HQoS

Hi Hongjun,  

I have been trying to implement downstream bandwidth limiting using HQoS plugin 
in vpp. It works fine for a certain number of clients (less than 5) but doesn’t 
assign proper bandwidth for larger number of clients. 

Can you please elaborate which method is being used in the OpenBRAS solution 
for band limiting traffic? Are you using the token-bucket algorithm as well?


Regards,
 
Abeeha Aqeel
Network Design Engineer
Xflow Research Inc.
+923245062309 (GMT+5)
abeeha.aq...@xflowresearch.com
www.xflowresearch.com







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13030): https://lists.fd.io/g/vpp-dev/message/13030
Mute This Topic: https://lists.fd.io/mt/31627099/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to