Re: [vpp-dev] [csit-dev] Cryptodev "issue"

2017-05-30 Thread Marco Varlese
On Tue, 2017-05-30 at 04:32 +, Peter Mikus -X (pmikus - PANTHEON
TECHNOLOGIES at Cisco) wrote:
> Hello,
> 
> In CSIT we did not observe booting timeouts but in fact our timeout values are
> not that tight.
Ok, would it be possible to share which timeout value do you guys use?

My previous timeout was set to 30 secs (and worked perfectly), now is set to 300
(it didn't work either with 60 or 180)...


Cheers,
Marco

> 
> Peter Mikus
> Engineer - Software
> Cisco Systems Limited
> 
> -Original Message-
> From: csit-dev-boun...@lists.fd.io [mailto:csit-dev-boun...@lists.fd.io] On
> Behalf Of Sergio Gonzalez Monroy
> Sent: Monday, May 29, 2017 5:21 PM
> To: Marco Varlese ; vpp-dev@lists.fd.io; csit-dev@list
> s.fd.io
> Subject: Re: [csit-dev] [vpp-dev] Cryptodev "issue"
> 
> On 29/05/2017 15:54, Marco Varlese wrote:
> > 
> > On Mon, 2017-05-29 at 15:35 +0100, Sergio Gonzalez Monroy wrote:
> > > 
> > > Hi,
> > > 
> > > I have not seen that behavior before.
> > > 
> > > The dpdk_crypto_sw is only for enabling SW crypto, the default is to 
> > > support just HW crypto devices.
> > > 
> > > I cannot think of a reason why you would see that behavior.
> > > Basically we just check if we found enough DPDK/Cryptodev HW crypto 
> > > devices for the number of workers configured.
> > > How have you pin point the wait/stall to the Cryptodev initialization?
> > I haven't spent much time on it however this wasn't happening on the 
> > previous release (17.02) I used for my VSPerf environment. I then 
> > noticed this new "message" and thought to raise the question here.
> > 
> > If you do not see the issue and believe that cannot cause this 
> > bootstrap problem then it must be something else. I will dig further 
> > but my environment hasn't changed beside the new VPP version.
> 
> +csit-dev
> 
> CSIT tests have been running with this change and I do not think they have
> seen the issue either.
> 
> Have you not changed anything on your setup/startup.conf? ie. number of
> hugepages
> 
> Thanks,
> Sergio
> 
> > 
> > > 
> > > Thanks,
> > > Sergio
> > > 
> > > On 29/05/2017 15:27, Marco Varlese wrote:
> > > > 
> > > > Hi all,
> > > > 
> > > > I pulled the latest code from master branch last week and I'm seeing 
> > > > something new and related (possibly) to the Cryptodev support in 
> > > > VPP/DPDK.
> > > > 
> > > > The issue is that it now takes much longer for VPP to initialize...
> > > > eventually
> > > > printing out the message:
> > > > "not enough Cryptodevs, default to OpenSSL IPsec"
> > > > 
> > > > I'm building the code - as before - by:
> > > > > 
> > > > > make bootstrap
> > > > > make build-release
> > > > which produced a config file with the dpdk-crypto-sw disabled (see
> > > > below).
> > > > [   45s] with:
> > > > [   45s]   dpdk_crypto_sw  no
> > > > 
> > > > I wonder if anybody is experiencing the same behaviour (I found it 
> > > > out thanks to VSPerf which was going in timeout because of VPP)?
> > > > 
> > > > Is this something which we can disable in VPP (although from the 
> > > > configure it should already be disabled)? It looks strange to me 
> > > > that although the feature is disabled, the code is still looking for 
> > > > crypto-devs via the DPDK infrastructure.
> > > > 
> > > > Any thoughts?
> > > > 
> > > > 
> > > > Regards,
> > > > Marco
> > > > 
> > > > ___
> > > > vpp-dev mailing list
> > > > vpp-dev@lists.fd.io
> > > > https://lists.fd.io/mailman/listinfo/vpp-dev
> > > 
> > > 
> 
> ___
> csit-dev mailing list
> csit-...@lists.fd.io
> https://lists.fd.io/mailman/listinfo/csit-dev
> 
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] [csit-dev] Cryptodev "issue"

2017-05-29 Thread Peter Mikus -X (pmikus - PANTHEON TECHNOLOGIES at Cisco)
Hello,

In CSIT we did not observe booting timeouts but in fact our timeout values are 
not that tight.

Peter Mikus
Engineer - Software
Cisco Systems Limited

-Original Message-
From: csit-dev-boun...@lists.fd.io [mailto:csit-dev-boun...@lists.fd.io] On 
Behalf Of Sergio Gonzalez Monroy
Sent: Monday, May 29, 2017 5:21 PM
To: Marco Varlese ; vpp-dev@lists.fd.io; 
csit-...@lists.fd.io
Subject: Re: [csit-dev] [vpp-dev] Cryptodev "issue"

On 29/05/2017 15:54, Marco Varlese wrote:
> On Mon, 2017-05-29 at 15:35 +0100, Sergio Gonzalez Monroy wrote:
>> Hi,
>>
>> I have not seen that behavior before.
>>
>> The dpdk_crypto_sw is only for enabling SW crypto, the default is to 
>> support just HW crypto devices.
>>
>> I cannot think of a reason why you would see that behavior.
>> Basically we just check if we found enough DPDK/Cryptodev HW crypto 
>> devices for the number of workers configured.
>> How have you pin point the wait/stall to the Cryptodev initialization?
> I haven't spent much time on it however this wasn't happening on the 
> previous release (17.02) I used for my VSPerf environment. I then 
> noticed this new "message" and thought to raise the question here.
>
> If you do not see the issue and believe that cannot cause this 
> bootstrap problem then it must be something else. I will dig further 
> but my environment hasn't changed beside the new VPP version.

+csit-dev

CSIT tests have been running with this change and I do not think they have seen 
the issue either.

Have you not changed anything on your setup/startup.conf? ie. number of 
hugepages

Thanks,
Sergio

>> Thanks,
>> Sergio
>>
>> On 29/05/2017 15:27, Marco Varlese wrote:
>>> Hi all,
>>>
>>> I pulled the latest code from master branch last week and I'm seeing 
>>> something new and related (possibly) to the Cryptodev support in 
>>> VPP/DPDK.
>>>
>>> The issue is that it now takes much longer for VPP to initialize...
>>> eventually
>>> printing out the message:
>>> "not enough Cryptodevs, default to OpenSSL IPsec"
>>>
>>> I'm building the code - as before - by:
 make bootstrap
 make build-release
>>> which produced a config file with the dpdk-crypto-sw disabled (see below).
>>> [   45s] with:
>>> [   45s]   dpdk_crypto_sw  no
>>>
>>> I wonder if anybody is experiencing the same behaviour (I found it 
>>> out thanks to VSPerf which was going in timeout because of VPP)?
>>>
>>> Is this something which we can disable in VPP (although from the 
>>> configure it should already be disabled)? It looks strange to me 
>>> that although the feature is disabled, the code is still looking for 
>>> crypto-devs via the DPDK infrastructure.
>>>
>>> Any thoughts?
>>>
>>>
>>> Regards,
>>> Marco
>>>
>>> ___
>>> vpp-dev mailing list
>>> vpp-dev@lists.fd.io
>>> https://lists.fd.io/mailman/listinfo/vpp-dev
>>
>>

___
csit-dev mailing list
csit-...@lists.fd.io
https://lists.fd.io/mailman/listinfo/csit-dev
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev