[Freeipa-devel] [freeipa PR#488][comment] Speed up client schema cache

2017-03-01 Thread MartinBasti
URL: https://github.com/freeipa/freeipa/pull/488 Title: #488: Speed up client schema cache MartinBasti commented: """ master: * 332dbab1ff09eb719eb9e0a7a90bbf5b6e69ddc9 Speed up client schema cache * 3be696c92f6948ea0ced9784920600b73703e414 Drop in-memory copy of schema zip file """ See the f

[Freeipa-devel] [freeipa PR#488][comment] Speed up client schema cache

2017-03-01 Thread tiran
URL: https://github.com/freeipa/freeipa/pull/488 Title: #488: Speed up client schema cache tiran commented: """ It looks like your IPA server is about half as fast (26sec / 13sec for 20 pings). In absolute numbers, it's still ~2.5 sec faster. In your case, performance probably dominated by ser

[Freeipa-devel] [freeipa PR#488][comment] Speed up client schema cache

2017-03-01 Thread dkupka
URL: https://github.com/freeipa/freeipa/pull/488 Title: #488: Speed up client schema cache dkupka commented: """ The speedup I see is smaller (10-15%) [1] than what you're reporting but that might be caused by the fact that I store the cache on really slow file system (NFS mount). Anyway the c

[Freeipa-devel] [freeipa PR#488][comment] Speed up client schema cache

2017-02-28 Thread tiran
URL: https://github.com/freeipa/freeipa/pull/488 Title: #488: Speed up client schema cache tiran commented: """ @dkupka Makes sense, I dropped the temporary buffer and replaced the file locking logic with tempfile + os.rename. """ See the full comment at https://github.com/freeipa/freeipa/pul

[Freeipa-devel] [freeipa PR#488][comment] Speed up client schema cache

2017-02-28 Thread dkupka
URL: https://github.com/freeipa/freeipa/pull/488 Title: #488: Speed up client schema cache dkupka commented: """ @tiran Currently the file is first copied into BytesIO and then all reading is done from it. Your modification IMO supersedes the need for the BytesIO copy because everything is rea