Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration checking #1423

Open
5 tasks
krizhanovsky opened this issue Jun 16, 2020 · 0 comments
Open
5 tasks

Configuration checking #1423

krizhanovsky opened this issue Jun 16, 2020 · 0 comments
Labels
Milestone

Comments

@krizhanovsky
Copy link
Contributor

krizhanovsky commented Jun 16, 2020

There is prerequisite requirements Wiki https://github.com/tempesta-tech/tempesta/wiki/Requirements . However, it's not easy to check whether some requirements are met. For example, it's quite hard to learn whether a particular Intel CPU supports vAPIC or whether a NIC supports SR-IOV.

We need a script which allows users to easily get an idea whether Tempesta FW can be run in a particular environment and whether it can deliver good performance. #1415 is an example of haw hard it could be to figure out why Tempesta FW doesn't deliver enough performance on a poor hardware.

The script must be called from https://github.com/tempesta-tech/tempesta/blob/master/pkg/scripts/tempesta_installer.sh .

/scripts/check_conf.pl at the moment checks vAPIC only. It must be extended to:

  • accept program arguments like --virt and --hw to run checks for virtual or bare metal installation
  • check for availability of multiple queues on a NIC
  • in case of virtual environment check that the NIC is in SR-IOV or macvtap mode
  • run all the checks from the prerequisite Wiki
  • print errors if an environment can not be used for Tempesta FW and warnings if the environment lacks performance crucial features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant