lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87pnouwyg9.fsf@concordia.ellerman.id.au>
Date:   Tue, 07 May 2019 16:49:58 +1000
From:   Michael Ellerman <mpe@...erman.id.au>
To:     Daniel Borkmann <daniel@...earbox.net>
Cc:     bpf@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: selftests/bpf/test_tag takes ~30 minutes?

Daniel Borkmann <daniel@...earbox.net> writes:
> On 04/30/2019 03:21 PM, Michael Ellerman wrote:
>> Hi Daniel,
>> 
>> I'm running selftests/bpf/test_tag and it's taking roughly half an hour
>> to complete, is that expected?
>> 
>> I don't really grok what the test is doing TBH, but it does appear to be
>> doing it 5 times :)
>> 
>> 	for (i = 0; i < 5; i++) {
>> 		do_test(&tests, 2, -1,     bpf_gen_imm_prog);
>> 		do_test(&tests, 3, fd_map, bpf_gen_map_prog);
>> 	}
>> 
>> Could we make it just do one iteration by default? That would hopefully
>> reduce the runtime by quite a bit. It could take a parameter to run the
>> longer version perhaps?
>
> On my 2.5 years old laptop it's taking 16 seconds. ;)

Hrm. I guess I need to dig into why it's taking so long then :)

Today it takes 10s on the same machine :/

Is it affected by the BPF JIT being enabled/disabled?

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ