Wednesday, 2021-03-24

zaitcevacoles: you around? How is this a good thing:          def __hash__(self):        return 100:38
*** timburke__ has quit IRC00:47
*** timburke__ has joined #openstack-swift00:48
*** ChanServ sets mode: +v timburke__00:48
*** rcernin has quit IRC01:34
*** baojg has joined #openstack-swift01:34
openstackgerritMatthew Oliver proposed openstack/swift master: relinker: Add policy to relinker progress output  https://review.opendev.org/c/openstack/swift/+/78044001:39
openstackgerritMatthew Oliver proposed openstack/swift master: relinker: Add /recon/relinker endpoint and drop progress stats  https://review.opendev.org/c/openstack/swift/+/77965501:39
*** rcernin has joined #openstack-swift01:45
*** rcernin has quit IRC01:46
*** rcernin has joined #openstack-swift01:46
seongsoochoyay ! I just finished my first partition power increase job!  It took almost 6 weeks. ...  Thank you for making such a fantastic feature.02:44
*** rcernin has quit IRC02:45
*** rcernin has joined #openstack-swift02:57
*** rcernin has quit IRC02:57
*** rcernin has joined #openstack-swift02:58
zaitcevseongsoocho: I cannot believe it took that long. Can you give me an order of magnitude for the number of objects in the cluster (I understand that exact number may be proprietary)?02:59
seongsoochozaitcev:   1,025,311,000 object with 480 disks. Looking at the relink log, it says that 10 million diskfiles were processed per disk.03:03
zaitcevseongsoocho: thanks03:03
zaitcevwell the relinker operates on directories which is slow by necessity03:04
seongsoochoyes.. I added additional log to know how many diskfiles were processed per 1 min, the report said  about 2000 diskfiles were process per 1min.03:06
*** rcernin has quit IRC03:31
*** evrardjp has quit IRC03:33
*** evrardjp has joined #openstack-swift03:33
*** rcernin has joined #openstack-swift03:38
*** rcernin has quit IRC03:52
*** rcernin has joined #openstack-swift03:52
*** rcernin has quit IRC03:53
*** rcernin has joined #openstack-swift03:54
openstackgerritMatthew Oliver proposed openstack/swift master: Stop pushing acceptor and donor SR to shrinking shards  https://review.opendev.org/c/openstack/swift/+/77190804:41
*** psachin has joined #openstack-swift05:53
*** psachin has quit IRC06:01
*** baojg has quit IRC06:43
*** baojg has joined #openstack-swift06:44
*** m75abrams has joined #openstack-swift06:50
*** psachin has joined #openstack-swift06:51
*** mvalsecc has joined #openstack-swift07:15
*** mvalsecc has quit IRC07:15
*** rcernin has quit IRC08:09
*** rpittau|afk is now known as rpittau08:19
*** dsariel has joined #openstack-swift08:21
*** rcernin has joined #openstack-swift08:52
*** rcernin has quit IRC08:57
*** rcernin has joined #openstack-swift09:08
*** rcernin has quit IRC09:32
*** m75abrams has quit IRC09:42
*** dsariel has quit IRC09:54
*** rcernin has joined #openstack-swift09:57
*** rcernin has quit IRC10:02
*** m75abrams has joined #openstack-swift10:10
*** rcernin has joined #openstack-swift10:12
*** m75abrams has quit IRC10:14
*** m75abrams has joined #openstack-swift10:16
*** baojg has quit IRC10:16
*** rcernin has quit IRC10:22
*** dsariel has joined #openstack-swift10:42
zigoAfter switching a container+account+proxy server to uwsgi, I got this in the container server logs:10:49
zigoTraceback (most recent call last):10:49
zigo  File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 461, in fire_timers10:49
zigo    timer()10:49
zigo  File "/usr/lib/python3/dist-packages/eventlet/hubs/timer.py", line 59, in __call__10:49
zigo    cb(*args, **kw)10:49
zigo  File "/usr/lib/python3/dist-packages/eventlet/event.py", line 175, in _do_send10:49
zigo    waiter.switch(result)10:49
zigogreenlet.error: cannot switch to a different thread10:49
zigoSo I switched to a single thread. Though would there be a fix ?10:49
zigoIt may kill performances no ?10:49
*** rcernin has joined #openstack-swift11:01
*** rcernin has quit IRC11:01
*** rcernin has joined #openstack-swift11:04
*** baojg has joined #openstack-swift11:29
*** baojg has quit IRC11:29
*** baojg has joined #openstack-swift11:30
*** baojg has quit IRC11:30
*** baojg has joined #openstack-swift11:31
*** baojg has quit IRC11:31
*** baojg has joined #openstack-swift11:31
*** baojg has quit IRC11:32
*** baojg has joined #openstack-swift11:32
*** baojg has quit IRC11:33
*** baojg has joined #openstack-swift11:33
*** baojg has quit IRC11:33
*** rcernin has quit IRC11:58
*** rcernin has joined #openstack-swift12:06
*** dsariel has quit IRC12:17
*** rcernin has quit IRC12:22
*** psachin has quit IRC12:50
*** m75abrams has quit IRC12:55
*** dsariel has joined #openstack-swift13:09
*** m75abrams has joined #openstack-swift13:11
claygzigo: single os thread is probably correct - we normally use multiple async processes.  N.B. https://uwsgi-docs.readthedocs.io/en/latest/Async.html does NOT call out eventlet as explicitly supported (but it's pretty similar in nature to gevent)13:32
*** m75abrams has quit IRC13:49
acoleszaitcev: thanks for questioning that. IIRC I needed a fix to make the bounds hashable, threw in that kludge and forgot to go back and think harder :( I think the problem actually stems from my failure to implement a proper singleton 3 years ago, so needing a __hash__ because of the __eq__ , and then forgetting that the classes are not singletons so a fixed hash is not appropriate. #willfix14:13
openstackgerritAlistair Coles proposed openstack/swift master: swift-manage-shard-ranges: add repair and analyze commands  https://review.opendev.org/c/openstack/swift/+/76562414:16
openstackgerritAlistair Coles proposed openstack/swift master: Make ShardRange.OuterBound a proper singleton  https://review.opendev.org/c/openstack/swift/+/78275714:16
acoleszaitcev: so maybe that is better ^^^14:16
zaitcevacoles: I thought something like md5(self.name) or whatever. Sorry, it was a drive-by, I didn't look well into it.14:59
zaitcevacoles: What I actually wanted to ask off you is where you used that class as a key in a dict. I didn't see it in the code.15:00
acolesit was a good call - I only needed __hash__ because we have an __eq__, and only need __eq__ because we failed to implement proper singleton15:01
acolesOIC, let me find a link15:01
acoleszaitcev: https://review.opendev.org/c/openstack/swift/+/765624/24/swift/container/sharder.py#36115:04
*** stand has joined #openstack-swift15:29
*** m75abrams has joined #openstack-swift15:34
openstackgerritTim Burke proposed openstack/swift master: relinker: Parallelize per disk  https://review.opendev.org/c/openstack/swift/+/76963316:00
*** gyee has joined #openstack-swift16:23
*** timburke_ has joined #openstack-swift16:39
*** ChanServ sets mode: +v timburke_16:39
*** timburke__ has quit IRC16:42
*** m75abrams has quit IRC17:02
*** rpittau is now known as rpittau|afk17:24
openstackgerritAlistair Coles proposed openstack/swift master: WIP: Enhance reclaim to estimate remaining tombstones  https://review.opendev.org/c/openstack/swift/+/78283217:51
openstackgerritAlistair Coles proposed openstack/swift master: WIP: sharder: update own shard range with tombstone estimate  https://review.opendev.org/c/openstack/swift/+/78283317:51
*** rcernin has joined #openstack-swift18:19
*** rcernin has quit IRC18:23
*** timburke_ has quit IRC18:35
*** timburke__ has joined #openstack-swift18:35
*** ChanServ sets mode: +v timburke__18:35
zaitcevacoles: thanks a lot, I think I understand. We only have one instance of each MIN and MAX.19:24
timburke__almost meeting time20:55
seongsoochomorning~~~20:55
kota_good morning20:58
*** rcernin has joined #openstack-swift21:01
*** rcernin has quit IRC21:01
*** rcernin has joined #openstack-swift21:02
mattoliveraumorning21:03
*** klamath_atx has quit IRC21:56
*** klamath_atx has joined #openstack-swift22:00
*** rcernin has quit IRC22:11
openstackgerritTim Burke proposed openstack/swift master: relinker: Add policy to relinker progress output  https://review.opendev.org/c/openstack/swift/+/78044022:14
*** rcernin has joined #openstack-swift22:26
*** rcernin has quit IRC22:31
*** rcernin has joined #openstack-swift22:32
*** stand has quit IRC23:20
*** gyee has quit IRC23:35
*** Underknowledge has quit IRC23:40
*** Underknowledge has joined #openstack-swift23:51
*** Underknowledge has quit IRC23:54
*** Underknowledge has joined #openstack-swift23:54
*** Underknowledge has quit IRC23:59
*** Underknowledge has joined #openstack-swift23:59

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