Monday, 2023-08-14

noonedeadpunkmornings06:30
karniHi there06:53
hamidlotfi_mornings06:53
karniDoes OSA have supports for DPDK? I searching but couldn't find any related link.06:54
karniI'm*06:55
noonedeadpunkkarni: yup it does07:26
noonedeadpunkhttps://docs.openstack.org/openstack-ansible-os_neutron/latest/app-openvswitch-dpdk.html07:26
jrossergood morning07:54
jrosserkarni: i think you need a dpdk enabled application in your vm for it to be worth the effort of doing dpdk on the host07:54
admin1karni, your app must also support dpdk and utilize it .. else its no use .. sr-iov might be better if your app is not aware of dpdk 08:11
karniWhat do you mean by the "App"? Isn't OVS the app itself here?09:16
jrosserDPDK works by making a shared memory area that packets land in from the NIC09:17
jrossera DPDK enabled application will deal directly with that shared memory rather than "conventional" network stack09:17
karniWe want to maximize the traffic throughput on Computes while it's limited to 1G on 10G cards! I implimented it manually and I get 6X enhancement09:17
jrosseri think if you are seeing 1G on 10G cards then that points to there being some other issue09:19
karnijrosser: Then Open vSwitch can deal with that hugepges space, can't it?09:19
jrosserimho something else is wrong if you only get 1G performance with a 10G nic09:19
karni`ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-hugepage-dir=/path/to/hugepages/mountpoint`09:20
karnijrosser: I think the Kernel can not handle the traffic well on HP G8 servers.09:22
noonedeadpunkkarni: 1g on 10g cards is vif-multique09:22
noonedeadpunki'm 99% sure about that09:22
noonedeadpunkhttps://specs.openstack.org/openstack/nova-specs/specs/liberty/implemented/libvirt-virtiomq.html09:24
noonedeadpunkyou can set either `hw_vif_multiqueue_enabled` per image in it's properties or hw:vif_multiqueue_enabled per flavor (https://docs.openstack.org/nova/latest/configuration/extra-specs.html#hw:vif_multiqueue_enabled)09:25
noonedeadpunkas default behaviour is that traffic is being processed by 1 core and virtio-net multiqueue do release this 09:26
opendevreviewMerged openstack/ansible-hardening master: Fix linters and metadata  https://review.opendev.org/c/openstack/ansible-hardening/+/88868209:31
karninoonedeadpunk: interesting, I'll go to study around it09:36
opendevreviewMerged openstack/openstack-ansible-os_designate master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/88855010:34
opendevreviewMerged openstack/openstack-ansible-os_swift master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/88867210:36
opendevreviewMerged openstack/openstack-ansible-os_manila master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/89012610:36
opendevreviewMerged openstack/openstack-ansible-os_glance master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/88856710:37
opendevreviewMerged openstack/openstack-ansible-os_murano master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_murano/+/88860110:38
opendevreviewMerged openstack/openstack-ansible-os_barbican master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_barbican/+/88847210:39
opendevreviewMerged openstack/openstack-ansible-os_keystone master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/88858510:45
opendevreviewMerged openstack/openstack-ansible-os_mistral master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_mistral/+/89012510:47
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/88853410:48
opendevreviewMerged openstack/openstack-ansible-os_designate master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/89009810:50
opendevreviewMerged openstack/openstack-ansible-os_tacker master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_tacker/+/88860910:50
opendevreviewMerged openstack/openstack-ansible-os_octavia master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/88868710:51
opendevreviewMerged openstack/openstack-ansible-os_trove master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_trove/+/88861410:51
opendevreviewMerged openstack/openstack-ansible-os_horizon master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/88866710:52
opendevreviewMerged openstack/openstack-ansible-os_tempest master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/88861310:52
opendevreviewMerged openstack/openstack-ansible-os_manila master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_manila/+/88860010:52
opendevreviewMerged openstack/openstack-ansible-os_barbican master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_barbican/+/89009510:53
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/89008910:53
opendevreviewMerged openstack/openstack-ansible-os_zun master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/89013410:54
opendevreviewMerged openstack/openstack-ansible-os_ironic master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/88857910:55
opendevreviewMerged openstack/openstack-ansible-os_cloudkitty master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/88854910:55
opendevreviewMerged openstack/openstack-ansible-os_heat master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_heat/+/88857310:55
opendevreviewMerged openstack/openstack-ansible-os_heat master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_heat/+/89012210:55
opendevreviewMerged openstack/openstack-ansible-os_blazar master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_blazar/+/89009610:56
opendevreviewMerged openstack/openstack-ansible-os_blazar master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_blazar/+/88847310:56
opendevreviewMerged openstack/openstack-ansible-os_magnum master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/88859210:56
opendevreviewMerged openstack/openstack-ansible-os_cinder master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/89009111:02
opendevreviewMerged openstack/openstack-ansible-os_zun master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/88861611:02
opendevreviewMerged openstack/openstack-ansible-os_placement master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/89013011:05
opendevreviewMerged openstack/openstack-ansible-os_nova master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/88869211:19
opendevreviewMerged openstack/openstack-ansible-ceph_client stable/zed: Use correct index of previous task results  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/89110611:23
opendevreviewMerged openstack/openstack-ansible-os_sahara master: Fix linters and metadata  https://review.opendev.org/c/openstack/openstack-ansible-os_sahara/+/88860811:29
opendevreviewMerged openstack/openstack-ansible-os_glance master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/89009911:43
opendevreviewMerged openstack/openstack-ansible-ceph_client stable/zed: Define libvirt secrets from keyring files in ceph_extra_confs  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/89110812:00
karniWhat does the following statement mean:12:11
karni" A PCI slot typically corresponds to a single NUMA node. For optimal performance, a DPDK NIC and any instance utilizing the NIC should be restricted to the same NUMA node and its respective memory...; Cores associated with the other NUMA node should be made unavailable to instances."12:11
karniSrc: https://docs.openstack.org/openstack-ansible-os_neutron/latest/app-openvswitch-dpdk.html#numa-topology12:11
jrosserkarni: PCI lanes are connected to a CPU12:11
jrosserif you have more than one CPU then the PCI lanes come from one, or the other12:11
noonedeadpunkkarni: I'm pretty sure you don't need dpdk with only 10Gbit cards...12:12
jrosserso to get optimum performance for DPDK you must ensure that instances only schedule to the CPU connected directly to the NIC12:12
jrosserthis is one of the "horrible" things with trying to use DPDK12:12
noonedeadpunkand it's not the only one unfortunatelly12:12
karninoonedeadpunk: I will definitely take what you said into consideration and look into it deeply. But now halfway through DPDK, I'd like to learn it properly (even if it's for my CV!)12:15
karnijrosser: So, NIC1 should be bound to NUMA0; and NUMA1 would be useless, right?12:18
jrosserperhaps :)12:18
jrosseri don't now specifics as DPDK has always been something i avoided at all costs12:19
jrosserand also i have no dual socket compute nodes also, to avoid NUMA troubles12:19
jrosserthere are other people here who have looked in more detail, jamesdenton and spatel in particular but I don't believe anyone we know here in #openstack-ansible went past lab tests to actual production deployment with DPDK12:21
jrosserkarni: see this https://satishdotpatel.github.io/openstack-dpdk-with-intel-x550-nic-part1/12:23
karnijrosser: Thanks12:29
karniAnd I appreciate having jamesdenton and spatel's comments (if they're online)12:29
jamesdentongood morning12:32
jamesdentonjrosser is right, we never implemented DPDK in production and haven't really had a reason to. It's been a few years since I messed with it. spatel probably has more recent experience12:35
noonedeadpunkand spatel has abandined dpdk in favor of SR-IOV just in case ;)12:40
noonedeadpunkkarni: you can read his blogpost https://satishdotpatel.github.io/openstack-dpdk-with-intel-x550-nic-part1/12:41
admin1i also did dpdk on client request .. turns out his app does not know of dpdk .. then used sr-iov instead12:42
admin1his app was  realtime gaming so very small udp packets that benefitted from sr-iov 12:43
karniOh, there are lots of things to be considered.12:45
karniadmin1: You mean if I enable DPDK, customers who launches instances based on dpdk-aware flavors may not get benifit of DPDK based on their useage in the instances?12:45
karnibenefit*12:46
karniI haven't looked into real world applications. My tests are based on stuffing the bandwidth with something like `ipref`12:49
jamesdentoni don't recall having an issue hitting > 1Gbps on G8 hardware. That was with the X520 LOM or PCI12:53
admin1did anything related to keystone changed between 26.1.1 -> 27.0.1 ..  after upgrade, when i login as a tenant, i cannot list instances or images or anything13:14
jrosseradmin1: when you login to...... horizon? or the cli?13:15
admin1horizon 13:15
admin1have not tried tenant on cli yet13:15
jrossercan you check with the cli too13:15
admin1on it 13:15
admin1Failed to discover available identity versions when contacting https://cloud.domain.com. Attempting to parse version from URL.13:18
admin1as an admin, i can 13:19
admin1checking further .. 13:19
jrosseri don't know if it is the same thing at all tbh, but we had this https://bugs.launchpad.net/openstack-ansible/+bug/202948613:19
admin1so osa defaults to _member_ , but i have to change it to member 13:23
admin1i will give it a try 13:23
admin1jrosser, that was it 13:23
jrossercan you leave a comment on the bug about what happened and how you fixed it?13:24
admin1i have a user with 2 projects, i let it stay as _member_ in one, but changed member to another .. the one with  member worked 13:24
jrosseralso if this was fresh or upgrade?13:24
admin1upgrade 13:24
admin126.1.1 -> 27.0.113:24
jrosser^ noonedeadpunk admin1 also had the _member_ issue we did13:24
noonedeadpunkyeah13:25
noonedeadpunkI was going to look into upgrade script to make _member_ implied. Despite that won't solve application credentials :(13:25
admin1its better to write a note and ask people to use member instead of _member_ .. makes it more inline and its can be scripted13:26
noonedeadpunkI bet it's already written in keystone notes one day...13:26
admin1updated with my findings 13:30
admin1note. admin has no role in service, so had to make it "member" in service project to allow it to list the amphora images13:31
admin1cli is still borken  .. Failed to discover available identity versions when contacting https://cloud.domain.com. Attempting to parse version from URL.13:58
opendevreviewMerged openstack/openstack-ansible-os_masakari master: Use proper galera port in configuration  https://review.opendev.org/c/openstack/openstack-ansible-os_masakari/+/89012414:10
noonedeadpunkadmin1: jsut add _member_ as implied to member14:25
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_adjutant stable/2023.1: Install mysqlclient devel package  https://review.opendev.org/c/openstack/openstack-ansible-os_adjutant/+/89127914:37
admin1Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Invalid Response - Bad version data returned: 17:27
admin1someting else 17:27
NeilHanlonhmm https://mitogen.networkgenomics.com/ansible_detailed.html20:16
Karni> admin1: your app must also support dpdk and utilize it20:53
KarniWhat happens if the application inside the OpenStack instance is not compatible with dpdk? 20:56
KarniWhat path does the packet take? OVS is configured to work with dpdk and bypass the kernel (DPDK concept). What does it matter where the packet comes from (here, a software unfamiliar with dpdk)?20:58
Karnijrosser: ^20:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!