summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2017-06-01 18:20:06 +0200
committerUltrabug <ultrabug@gentoo.org>2017-06-01 18:20:06 +0200
commit080e31bccdd16bc5a58480aebd82416804be53a5 (patch)
tree5daeb726d22693196213ad3bcdfa3f55eaaee852
parentscylla: add python_usedep on python dependencies (diff)
downloadultrabug-080e31bccdd16bc5a58480aebd82416804be53a5.tar.gz
ultrabug-080e31bccdd16bc5a58480aebd82416804be53a5.tar.bz2
ultrabug-080e31bccdd16bc5a58480aebd82416804be53a5.zip
scylla: update kernel conf and remove useless irqbalance
-rw-r--r--dev-db/scylla/Manifest2
-rw-r--r--dev-db/scylla/scylla-9999.ebuild20
2 files changed, 6 insertions, 16 deletions
diff --git a/dev-db/scylla/Manifest b/dev-db/scylla/Manifest
index a7ea672..0d21f28 100644
--- a/dev-db/scylla/Manifest
+++ b/dev-db/scylla/Manifest
@@ -1,5 +1,5 @@
AUX 10-scylla.conf 64 SHA256 47a2a3b9d581f289ad5bfaa78f92cc01e7f12ddc6e66ee08ceb27463ec0dbcc5 SHA512 c24b3ec2f0ea3b1ad0792c05a8eb044b3a157862b59759e020586ae872f9789a558d423fe1dff1a8c6d8342049cf4d919faf31a1439a6a1c69af915365b4ec82 WHIRLPOOL 0d5a3cae1ae3f29e77d58c010284c3dcadf556c2a5ec67624c010b18b43b3aac477eab5abe9dd70fdaabba02287a01d56cac65929528fe6541b6c8b268d23cf9
AUX scylla-server.confd 386 SHA256 b0da01117d51478b8cf0e0bc77829c7dab0bd8aeadef100f25ebf098d050b3d0 SHA512 5d3c55933a02d3b16837013b37110f6669c14e01599532f30935b5dc29871a5bed897c9eb01a6e89469eab7d645c9231745a06c2ef827f6700e13c8faa9cdb87 WHIRLPOOL 7c0a17760ae83b34384f17abf81e1cd8e9da54c764102320fe237f74fcf94de9396ca1fd8e6576c72c54d7c504cf6daa54847db548cd7900069bdd972efe5676
AUX scylla-server.initd 964 SHA256 b99672314a6e236939fcb19d37c89f98098e34227ea77ff79cb2ce01873408a8 SHA512 e72b817e8a42d843f6766b0cd25c33b8231efbd223f4ad31bca9a2610f670b3980c1be256343f5e3b0fe0f54ba460713f6db8de92c27cf67653140794299f760 WHIRLPOOL 89c88dddfedbc317046ad441a5a4bd2c3a8dde92ca4e81001da47909a4d05f74eb3296141c2f9fd02f57317a02e286f159c53c4909d3f0e2b0594d5cac1be14c
-EBUILD scylla-9999.ebuild 5270 SHA256 c293c362cfe62895fd1c27fb8e8e6667cd48293e60e4ee9cab3ac7a6ac3893a7 SHA512 8a3833cf935d58e10fce03756a4c343766897e4405ec68277ace61b9f326383cc0d0791afd748a8eeff71f9831264369e57379b96ed1e8b78d6049dcc37cd7de WHIRLPOOL 053e8505f820273d360dd004a04adc91972e4e3b6365a84760793d95b95c16914178ae469549d571f8c4aa6c3dc4da7bca3bfc8954dfe1837f98f05f92fea67e
+EBUILD scylla-9999.ebuild 4892 SHA256 38d66afd2d1b4856a9d785fe955321613488076728bb1ee00de484ba4ec2f1b9 SHA512 d721495e2ca88302fe2daf96adb0c45ef94c5efd0613d271894625688ba353b3560aef65000ec6798ea54d52ea58439aaea82e3a7b6e4a0c34fed1cc11fd0df4 WHIRLPOOL ef046788add7ab99e6467af78bf616e3cb527dc4a9915291275742f1442fb372ce8fa7ed7e8cd0cac4ad5a1210636f522f8db8c3875690779f147d2c39682900
MISC metadata.xml 249 SHA256 658f3f0cb7921722166c25f4a815ec0d7418ad183b9e8a0377eb08b3c3139173 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c WHIRLPOOL 6031231a9c8d06218c688115fb3e0f734964735d3af0b4e4a932afa78cbebecd6586293a16cbf69985fbaad4dce3594b1095a00d91a3a131cf8d683e88c34841
diff --git a/dev-db/scylla/scylla-9999.ebuild b/dev-db/scylla/scylla-9999.ebuild
index 9807fd2..1907d08 100644
--- a/dev-db/scylla/scylla-9999.ebuild
+++ b/dev-db/scylla/scylla-9999.ebuild
@@ -40,7 +40,6 @@ RDEPEND="
net-libs/gnutls
net-misc/lksctp-tools
sys-apps/hwloc
- sys-apps/irqbalance[numa]
sys-fs/xfsprogs
sys-libs/libunwind
sys-libs/zlib
@@ -52,14 +51,14 @@ DEPEND="${RDEPEND}
dev-util/ninja
"
-CONFIG_CHECK="~HUGETLBFS ~KPROBES ~NUMA_BALANCING ~PROC_PAGE_MONITOR ~SYN_COOKIES ~TRANSPARENT_HUGEPAGE ~UIO_PCI_GENERIC"
-ERROR_HUGETLBFS="${PN} recommends support for Huge Table Pages FS (HUGETLBFS)."
-ERROR_KPROBES="${PN} recommends support for KProbes Instrumentation (KPROBES)."
+# Discussion about kernel configuration:
+# https://groups.google.com/forum/#!topic/scylladb-dev/qJu2zrryv-s
+# For DPDK, removed HUGETLBFS PROC_PAGE_MONITOR UIO_PCI_GENERIC in favor of VFIO
+CONFIG_CHECK="~NUMA_BALANCING ~SYN_COOKIES ~TRANSPARENT_HUGEPAGE ~VFIO"
ERROR_NUMA_BALANCING="${PN} recommends support for Memory placement aware NUMA scheduler (NUMA_BALANCING)."
-ERROR_PROC_PAGE_MONITOR="${PN} recommends to enable /proc page monitoring (PROC_PAGE_MONITOR)."
ERROR_SYN_COOKIES="${PN} recommends support for TCP syncookie (SYN_COOKIES)."
ERROR_TRANSPARENT_HUGEPAGE="${PN} recommends support for Transparent Hugepage (TRANSPARENT_HUGEPAGE)."
-ERROR_UIO_PCI_GENERIC="${PN} recommends support for Generic driver for PCI 2.3 and PCI Express cards (UIO_PCI_GENERIC)."
+ERROR_VFIO="${PN} running with DPDK recommends support for Non-Privileged userspace driver framework (VFIO)."
DOCS=( LICENSE.AGPL README.md )
PATCHES=()
@@ -182,15 +181,6 @@ pkg_postinst() {
}
pkg_config() {
- elog "Setting up irqbalance..."
- if $(grep -q systemd /proc/1/comm); then
- systemctl enable irqbalance.service
- systemctl start irqbalance.service
- else
- rc-update add irqbalance default
- service irqbalance start
- fi
-
elog "Running 'scylla_setup'..."
scylla_setup
} \ No newline at end of file