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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200128194136.4dff1cb2@carbon>
Date:   Tue, 28 Jan 2020 19:41:36 +0100
From:   Jesper Dangaard Brouer <brouer@...hat.com>
To:     Matteo Croce <mcroce@...hat.com>
Cc:     Ilias Apalodimas <ilias.apalodimas@...aro.org>,
        Lorenzo Bianconi <lorenzo.bianconi@...hat.com>,
        Saeed Mahameed <saeedm@...lanox.com>,
        Tariq Toukan <tariqt@...lanox.com>,
        Toke Høiland-Jørgensen <toke@...hat.com>,
        Jonathan Lemon <jonathan.lemon@...il.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        brouer@...hat.com
Subject: Re: Created benchmarks modules for page_pool

On Tue, 28 Jan 2020 17:22:47 +0100
Matteo Croce <mcroce@...hat.com> wrote:

> On Wed, Jan 22, 2020 at 1:09 PM Jesper Dangaard Brouer
> <brouer@...hat.com> wrote:
> > On Wed, 22 Jan 2020 12:42:05 +0200  
> > > Interesting, i'll try having a look at the code and maybe run then on
> > > my armv8 board.  
> >
> > That will be great, but we/you have to fixup the Intel specific ASM
> > instructions in time_bench.c (which we already discussed on IRC).
> >  
> 
> What does it need to work on arm64? Replace RDPMC with something generic?

Replacing the RDTSC. Hoping Ilias will fix it for ARM ;-) 

You can also fix yourself via using get_cycles() include <linux/timex.h>.
If the ARCH doesn't have support it will just return 0.

Have you tried it out on your normal x86/Intel box?
Hint:
 https://prototype-kernel.readthedocs.io/en/latest/prototype-kernel/build-process.html
-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ