Date: Mon, 24 Jun 2019 22:21:36 +0300 From: Jonathan A <pc.crumbs@...il.com> To: john-users@...ts.openwall.com Subject: Re: Disable specific SIMD features like AVX, AVX2, etc. Hi Alexander, Thanks! The reason is that I need john running in many docker containers on multiple pods and servers. Instead of always building john from source (using the Dockerfile), I simply build it once and create a .deb package which I install using the Dockerfile (install = simply copy the "run" folder and one or two .so files). This works fine. Recently I built john on a machine with AVX and of course it didn't execute on pods that were on machines without AVX. So I wanted to build john without AVX, so I know it will run on all pods/machines. I know that the cleaner way would be to build john from source on each pod, but it's easier for me (and faster pod startup) to create the .deb package and install from there. Of course if you think there's a better way I would love to hear your input. Regards, Jonathan On Mon, Jun 24, 2019 at 5:22 PM Solar Designer <solar@...nwall.com> wrote: > Hi, > > On Mon, Jun 24, 2019 at 04:55:03PM +0300, Jonathan A wrote: > > I am aware of the option to run "./configure --disable-simd", but I > > understand that this disables all SID features. Is it possible to disable > > only specific features (specifically I'm interested in disabling all AVX > > features: AVX, AVX2, AVX512F, AVX512BW). > > You can do it with: > > ./configure --enable-simd=sse4 > > This syntax implies you want to disable SIMD extensions superior to the > one you chose to explicitly enable. > > Out of curiosity (and possibly to provide additional advice), why do you > want to do that? > > Alexander >
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.