-
Notifications
You must be signed in to change notification settings - Fork 7
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
Readme, python2 support #1
base: master
Are you sure you want to change the base?
Conversation
try: | ||
b = a = time.monotonic() | ||
except (AttributeError): | ||
import monotonic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну это капец. при каждом бенче делать импорт.
import json | ||
import argparse | ||
import logging | ||
import os | ||
import time | ||
import rados | ||
import configparser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну ведь не тестировал же. во втором питоне конфигпасер подругому называется.
В общем, про питон2 я уже пофиксил. про индентацию и пробелы по пеп8 -- пофикшу сам попозже.
# Install pre-requrements | ||
|
||
### CentOS | ||
`yum install python-configparser python-monotonic` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
))) он во втором питоне есть искаропки, просто подругому называется. в итоге я зарефакторил так что выпилил его использование совсем. И да, напиши для каких версий центоса это. равно как и убунту.
cd ceph-bench | ||
ceph auth export client.admin -o keyring.conf | ||
ceph osd pool set single size 1 | ||
ceph osd pool create single 1 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
сначала креате, потом сет сайз.
и креате нифига не 1 1, а 128 128 или сколько там нужно.
За работу спасибо, но нужны правки. |
Readme, python2 support