Wednesday, 2016-01-13

*** tzn has quit IRC00:10
*** tzn has joined #openstack-bareon01:10
*** tzn has quit IRC01:16
*** tzn has joined #openstack-bareon02:13
*** tzn has quit IRC02:19
*** tzn has joined #openstack-bareon04:16
*** tzn has quit IRC04:20
*** tzn has joined #openstack-bareon05:17
*** tzn has quit IRC05:22
*** tzn has joined #openstack-bareon06:18
*** tzn has quit IRC06:22
*** tzn has joined #openstack-bareon07:19
*** tzn has quit IRC07:23
*** sylwesterB has joined #openstack-bareon07:42
*** sylwesterB has quit IRC07:46
*** sylweste_ has joined #openstack-bareon07:46
*** tzn has joined #openstack-bareon07:47
*** tzn has quit IRC08:07
*** tzn has joined #openstack-bareon09:38
*** tzn has quit IRC09:39
sylweste_eli: I've read the document you have provided http://bareon-allocator.readthedocs.org/en/latest/architecture.html09:41
*** sylweste_ has left #openstack-bareon09:41
*** sylweste_ has joined #openstack-bareon09:41
*** sylweste_ is now known as sylwesterB09:41
sylwesterBAFAIU09:41
sylwesterByou were looking for a sequence (1,2,4,6...)09:42
sylwesterBwhich will be this objective function for maximization09:43
sylwesterBwhich will be used by simplex alg, right?09:44
sylwesterBevgenyl:^^09:44
evgenylsylwesterB: yes, the sequence is being used as coefficients for objective function09:50
sylwesterBevgenyl: ok, and sum(c^T x) is a maximization value. Simplex arg should look for the greatest value of it, right?09:54
sylwesterBSimplex alg*09:54
*** tzn has joined #openstack-bareon10:01
sylwesterBI'm just checking if I understand it correctly ;)10:02
evgenylsylwesterB: correct. It's a function which is used to figure out, which solution is "better" or "optimal".10:05
sylwesterBI like it, very clever. Do you have some PoC implementation of it, so i can test it?10:13
sylwesterBevgenyl: off-top: https://review.openstack.org/#/c/266416/ spec for bareon. It's not visible in gate-bareon-specs-docs http://docs-draft.openstack.org/16/266416/1/check/gate-bareon-specs-docs/c54b3ac//doc/build/html/10:25
sylwesterBdo you know why?10:25
*** sylweste_ has joined #openstack-bareon10:35
*** sylwesterB has quit IRC10:35
*** sylweste_ is now known as sylwesterB10:36
evgenylsylwesterB: hmm, I don't know why it's not rendered correctly...10:48
evgenylsylwesterB: there is run.sh script and examples of schemas in /etc directory, after you run the script, you can take a look at the picture in /tmp/bareon.svg directory10:49
sylwesterBevgenyl: which repo you're talking about?10:56
evgenylhttps://github.com/rustyrobot/bareon-allocator10:56
evgenylsylwesterB: ^10:56
sylwesterBgreat! Thanks ;)10:56
*** asvechnikov has quit IRC11:46
*** asvechnikov has joined #openstack-bareon11:50
asvechnikovevgenyl: Seems I misunderstood part about "Don’t allocate a single volume on ssd and hdd". I thought that partitions for one volume group shouldn't be allocated on hdd and ssd in the same time. So, Which solution will be used in case when user doesn't specify `best_with_disk` for volume group?11:54
evgenylasvechnikov: for us all disk are equal, so the user (somebody who wants to write own dynamic schemas) has to explicitly specify the classification of disks and which class to use for which space, so if user doesn't specify best_with_disk it will be treated as a regular disk.11:57
evgenylasvechnikov: so this algorithm doesn't have "a brain" which can say that one disk is ssd another one is hdd and it can make decisions according to that, it operates with spaces and classes of disks, so on layer above with yaql there is a way to make any kind of classification which is required for specific use-case12:00
asvechnikovevgenyl: Yes it's clear, but I tried to ask another thing. For example we have vg 'test' which contains two physical volumes pv1 and pv2, pv1 is allocated on hdd disk and pv2 is allocated on ssd disk. AFAIK it's a bad practice. Am I right?12:15
*** asvechnikov has quit IRC12:25
*** asvechnikov has joined #openstack-bareon12:25
*** asvechnikov has quit IRC12:27
*** asvechnikov has joined #openstack-bareon12:27
*** asvechnikov has quit IRC12:29
*** asvechnikov has joined #openstack-bareon12:29
evgenylasvechnikov: correct, allocation of single logical volume over disks with different speeds in general is a bad practice.12:37
asvechnikovevgenyl: will solver have some mechanism to not do it?12:38
evgenylasvechnikov: yes, user (i.e. sysops/developer) can set correct classification of disks for a space, so it won't make "bad allocation" (if min/max constraints are not violated), so something on level above should set correct classification according to speed of disks, for example it can be done dynamically using YAQL.12:44
asvechnikovevgenyl: Seems that classification should be set very accurately, otherwise there are high probability that solver doesn't find any solution12:47
evgenylasvechnikov: not really, I've specifically used coefficients of objective function to make sure, that those allocation are not "must" requirements, so if according to provided constraints (min/max) the only solution is to allocate lv on disks with different speeds, it will be done this way, which is not the best, but better than nothing. Also in example with13:01
evgenylssd, if there are no ssd, disks set for ceph-jouranl will belong to default class and will be allocated on hdd, if min size is specified.13:01
asvechnikovevgenyl: oh, indeed, there are no zero coefficients, thanks13:07
openstackgerritLiuNanke proposed openstack/bareon: Put py34 first in the envlist order of tox ,remove py33  https://review.openstack.org/26694714:33
evgenylagordeev: there are several patches on py34 addition and removing py26 https://review.openstack.org/#/q/project:openstack/bareon could you please consider merging them? Since Vladimir is seems to be not available at the time.14:35
agordeevevgenyl: yep, sure i'll do. let me take a look at them once again14:37
openstackgerritMerged openstack/bareon: Put py34 first in the env order of tox, and remove py26/py33  https://review.openstack.org/26047614:51
*** sylwesterB has quit IRC15:45
*** tzn has quit IRC17:52
*** tzn has joined #openstack-bareon17:54
*** tzn has quit IRC17:58
*** ikalnitsky has quit IRC18:08
*** evgenyl has quit IRC18:08
*** agordeev has quit IRC18:08
*** kozhukalov has quit IRC18:08
*** agordeev has joined #openstack-bareon18:18
*** kozhukalov has joined #openstack-bareon18:18
*** evgenyl has joined #openstack-bareon18:21
*** ikalnitsky has joined #openstack-bareon18:31
*** tzn has joined #openstack-bareon22:53
*** tzn has quit IRC22:57

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