Tuesday, 2016-03-15

*** yamamoto_ has quit IRC00:34
*** gongysh has quit IRC01:24
*** yamamoto_ has joined #openstack-dragonflow01:34
*** yamamoto_ has quit IRC01:43
*** yamamoto has joined #openstack-dragonflow02:07
*** gongysh has joined #openstack-dragonflow02:09
openstackgerritFei Rao proposed openstack/dragonflow: The implementation of distributed-DNAT  https://review.openstack.org/28914802:20
*** yamamoto has quit IRC02:27
*** gongysh has quit IRC02:41
*** yamamoto has joined #openstack-dragonflow03:09
openstackgerritLi Ma proposed openstack/dragonflow: Implement DB consistency  https://review.openstack.org/28229004:21
openstackgerritLi Ma proposed openstack/dragonflow: Implement DB consistency  https://review.openstack.org/28229004:23
openstackgerritLi Ma proposed openstack/dragonflow: Implement DB consistency  https://review.openstack.org/28229006:04
openstackgerrithujie proposed openstack/dragonflow: Implement ovsdb monitor function for dragonflow  https://review.openstack.org/29035306:27
openstackgerrithujie proposed openstack/dragonflow: Implement ovsdb monitor function for dragonflow  https://review.openstack.org/29035306:28
openstackgerrithujie proposed openstack/dragonflow: Implement ovsdb monitor function for dragonflow  https://review.openstack.org/29035306:30
openstackgerrithujie proposed openstack/dragonflow: Implement ovsdb monitor function for dragonflow  https://review.openstack.org/29035306:30
*** CrayZee has quit IRC06:54
*** CrayZee has joined #openstack-dragonflow06:55
openstackgerritOmer Anson proposed openstack/dragonflow: Add DHCP applicative testing  https://review.openstack.org/29119606:55
*** yuli_s has joined #openstack-dragonflow06:58
*** oanson has quit IRC07:02
*** gampel has joined #openstack-dragonflow07:05
openstackgerritGal Sagie proposed openstack/dragonflow: Multiple consumers for PLUGIN topic  https://review.openstack.org/29274307:13
openstackgerritYuli proposed openstack/dragonflow: Fix file limit bug  https://review.openstack.org/29239107:24
openstackgerritEran Gampel proposed openstack/dragonflow: Increase etcd read  timeout  https://review.openstack.org/29275207:48
openstackgerritEran Gampel proposed openstack/dragonflow: Add publish-subscribe abstraction spec  https://review.openstack.org/26373307:51
openstackgerritMerged openstack/dragonflow: Add Redis_driver.rst  https://review.openstack.org/27434008:07
openstackgerritEran Gampel proposed openstack/dragonflow: Call sync on local cache only on none normal Exception  https://review.openstack.org/29244708:28
*** gampel has quit IRC08:40
*** gampel has joined #openstack-dragonflow08:41
*** DuanKebo has joined #openstack-dragonflow09:01
openstackgerrithujie proposed openstack/dragonflow: Implement ovsdb monitor function for dragonflow  https://review.openstack.org/29276809:05
openstackgerritEran Gampel proposed openstack/dragonflow: Add publish-subscribe abstraction spec  https://review.openstack.org/26373309:07
openstackgerritduankebo proposed openstack/dragonflow: Code for selective topology distribution  https://review.openstack.org/28168709:22
yuli_sHello everyone09:27
yuli_si am researching the performance degradation issue I found at : https://bugs.launchpad.net/dragonflow/+bug/155680709:28
openstackLaunchpad bug 1556807 in DragonFlow "Performance degradation when multiple subnets added" [High,New] - Assigned to Yuli (stremovsky)09:28
yuli_sone of the problems I see (it is just one of the issues ) is with the arrays that we store in etcd database objects09:30
yuli_sfor example with the lrouter object09:31
yuli_swe have an array of ports09:31
yuli_sand if I look at add_lrouter_port() function,09:31
yuli_sthe code fetches object, performs json decode, add new port to the list of ports, stringify back to json object and stores the data back to db09:32
yuli_swhen we have a lot of ports like I do have in stress test (i have hundreds of ports in router)09:33
yuli_sthis becomes an issue09:33
gampelyuli_s: we do it only on one port so why do you see a difference when there are many ports in the DB09:35
gampelEveryone please review https://review.openstack.org/#/c/281687/19 so we could merge it09:35
yuli_shm09:36
yuli_son each new port, the code has to code with more data09:36
yuli_sthe json strings are bigger, more memory required to decode them then09:37
yuli_swe encode them back to string09:37
yuli_si suppose, we might need to conside storing ports for each router as an array09:38
yuli_scurrently we have /lrouter/<router-id> with a json09:38
yuli_swe might add /lrouter/<router-id>09:39
yuli_sand /lrouter/<router-id>-ports09:39
yuli_sso, the new version of the add_lrouter_port() might be very simple09:41
yuli_sinstead of reading lrouter and decoding, etcc - we will just push new port to /lrouter/<router-id>-ports09:42
gsagieyuli_s: thats a good point09:51
gsagiehow many ports are you adding per router?09:51
gsagiehow many networks09:51
gsagieas you suggest it might be better to hold them in their own table and not in the router object09:52
gsagiethat can explain the behavior you are seeing09:53
gampelyes yuli is now checking the test only with allot of subnet no routers port09:54
gsagiethis is the same case09:54
gsagieas we add subnets to network09:55
gsagieWith nick-ma work on the lock we can now split these objects09:55
gampeli mean multi networks  with one subnet each09:56
gsagieahh ok09:56
yuli_si have may be 10 networks09:57
yuli_swith 100 subnets per network09:57
yuli_seach one is added to router09:57
yuli_sgampel: I am running test without add_interface_router() now10:19
yuli_sthere is no degradation,10:20
yuli_sin additon, it is much faster10:20
yuli_si created 400 ports in total10:21
yuli_stime spend to create 100 subnets: 74.4845440388 time spend to create 100 subnets: 68.6519298553 time spend to create 100 subnets: 65.8278388977 time spend to create 100 subnets: 68.880478858910:21
yuli_sops,10:21
yuli_stime spend to create 100 subnets: 74.484544038810:21
yuli_stime spend to create +100 subnets: 68.651929855310:22
yuli_stime spend to create +100 subnets: 65.827838897710:22
yuli_stime spend to create +100 subnets: 68.880478858910:22
yuli_sthe value in secconds10:22
*** oanson has joined #openstack-dragonflow10:24
yuli_sI coppied my comments to the bug: https://bugs.launchpad.net/dragonflow/+bug/155680710:33
openstackLaunchpad bug 1556807 in DragonFlow "Performance degradation when multiple subnets added" [High,New] - Assigned to Yuli (stremovsky)10:33
openstackgerritfeipeng proposed openstack/dragonflow: Add Redis DB Driver and Redis PubSub Driver  https://review.openstack.org/28602810:53
openstackgerritduankebo proposed openstack/dragonflow: Code for selective topology distribution  https://review.openstack.org/28168712:35
*** gsagie has quit IRC12:56
*** yamamoto has quit IRC13:05
*** gsagie has joined #openstack-dragonflow13:13
*** dingboopt has quit IRC13:27
*** yamamoto has joined #openstack-dragonflow13:49
*** yamamoto_ has joined #openstack-dragonflow13:49
*** yamamoto has quit IRC13:53
*** Guest41345 has quit IRC14:03
openstackgerritEran Gampel proposed openstack/dragonflow: Code for selective topology distribution  https://review.openstack.org/28168714:20
*** oanson has quit IRC14:20
openstackgerritEran Gampel proposed openstack/dragonflow: Increase etcd read  timeout  https://review.openstack.org/29275214:51
*** yuli_s has quit IRC14:55
openstackgerritduankebo proposed openstack/dragonflow: Code for selective topology distribution  https://review.openstack.org/28168715:17
openstackgerritLi Ma proposed openstack/dragonflow: Add DB Consistency spec  https://review.openstack.org/26800516:17
openstackgerritMerged openstack/dragonflow: Multiple consumers for PLUGIN topic  https://review.openstack.org/29274316:33
openstackgerritLi Ma proposed openstack/dragonflow: Implement DB consistency  https://review.openstack.org/28229016:40
openstackgerritLi Ma proposed openstack/dragonflow: Implement DB consistency  https://review.openstack.org/28229016:44
*** openstackgerrit has quit IRC17:14
*** openstackgerrit_ is now known as openstackgerrit17:14
*** openstackgerrit has quit IRC17:15
*** openstackgerrit_ has joined #openstack-dragonflow17:15
*** openstackgerrit_ is now known as openstackgerrit17:16
*** openstackgerrit_ has joined #openstack-dragonflow17:17
*** oanson has joined #openstack-dragonflow18:54
openstackgerritMerged openstack/dragonflow: Call sync on local cache only on none normal Exception  https://review.openstack.org/29244719:10
*** oanson has quit IRC20:28
*** oanson has joined #openstack-dragonflow20:34
*** oanson has quit IRC21:20
*** oanson has joined #openstack-dragonflow21:27
*** oanson has quit IRC21:52
*** yamamoto_ has quit IRC23:05
*** yamamoto_ has joined #openstack-dragonflow23:51

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!