From: guillaume.lambert Date: Tue, 25 Jul 2023 11:43:28 +0000 (+0200) Subject: Add a note about MongoDB requirements to README.md X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=ee10a50004d891eb1d260035daf96a8bf0493601;p=functest-xtesting.git Add a note about MongoDB requirements to README.md Change-Id: Ieb161adcd8f2c4875533571b26b437e25819abb3 Signed-off-by: guillaume.lambert --- diff --git a/README.md b/README.md index ea17cc76..e9f0f988 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,18 @@ to try Xtesting. You will love them! ## [Write your own Xtesting driver](https://www.katacoda.com/ollivier/courses/xtestingci/firstdriver) +Note that [running MongoDB 5.0+ requires _avx_ CPU instruction set](https://www.mongodb.com/docs/manual/administration/production-notes/#x86_64) +that is usually shipped in all recent _x86_ hardware processors. +Though, it may not be available in your virtualized environments. +For example, Qemu _avx_ support is only available [since version 7.2](https://github.com/nodkz/mongodb-memory-server/issues/710#issuecomment-1297462935) +and must be explicitly enabled (e.g. with the argument _-cpu max_). + +You can check the presence of the _avx_ CPU instruction set on your processor +with the following command. +```bash +grep '^processor\|^flags.* avx' /proc/cpuinfo +``` + ### dump all the following files in an empty dir weather.py