Add a note about MongoDB requirements to README.md 70/74070/4
authorguillaume.lambert <guillaume.lambert@orange.com>
Tue, 25 Jul 2023 11:43:28 +0000 (13:43 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 16 Nov 2023 15:36:54 +0000 (16:36 +0100)
Change-Id: Ieb161adcd8f2c4875533571b26b437e25819abb3
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
README.md

index ea17cc7..e9f0f98 100644 (file)
--- 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