[RFC] [WIP] tevent/glib integration

Noel Power nopower at suse.com
Thu Jan 28 21:07:19 UTC 2016


On 28/01/16 18:12, Ralph Boehme wrote:
> On Thu, Jan 28, 2016 at 05:58:36PM +0000, Noel Power wrote:
>> On 28/01/16 14:38, Ralph Boehme wrote:
>> [...]
>>> in the meantime I've updated the branch with more polished commits and
>>> some performance enhancements (avoiding talloc where possible) and
>>> also added a few simple torture tests.
>>>
>>> I've also added patches to so mdssvc RPC service (Spotlight) makes use
>>> of it: this is a significant cleanup and enhancement.
>>>
>>> Latest patchset attached. I'm not sure this is the final version yet,
>>> but it's close, so at this point I'd appreciate a closer review. Thanks!
>> I tried to run the example with the lastest branch, but some weirdness there
>>  a) tevent_glib -t hangs for me
>>  b) tevent_glib -t -d0 works but is dog slow
>>      e.g. about X 10 times slower than it used to be
>>  c) tevent_glib -g is similarly slow ... you changed something in the
>> example ? looking at it I didn't see anything obvious beyond superficial
>> changes
> are you sure you're usign the latest branch. Should look like this:
>
> $ git lod -5
> * 69d8fca46cecdcfe840c814aed388025307d5b11 (HEAD -> tevent-glib-glue) tevent: add a tevent_glib_glue test
> * b573968bd73c801c134f557cc498bb8b3881e0e8 s3-mdssvc: use tevent_glib_glue in mdssvc RPC service
> * 135dd19a021dbc27a6f2d920e65b9272f8b151b8 s3-mdssvc: add tevent context arg to mds_init_ctx
> * a5c3d35e883d6c172f04e7ab725c0832e6c3d50e s3: tevent-glib test utiltity
> * b60f612763df2d0894ac84ac202140dd60d70094 tevent: glib event loop integration
yes
git log --format=oneline -6
j69d8fca46cecdcfe840c814aed388025307d5b11 tevent: add a tevent_glib_glue
test
b573968bd73c801c134f557cc498bb8b3881e0e8 s3-mdssvc: use tevent_glib_glue
in mdssvc RPC service
135dd19a021dbc27a6f2d920e65b9272f8b151b8 s3-mdssvc: add tevent context
arg to mds_init_ctx
a5c3d35e883d6c172f04e7ab725c0832e6c3d50e s3: tevent-glib test utiltity
b60f612763df2d0894ac84ac202140dd60d70094 tevent: glib event loop integration
d90517912712f2e8021733ecaabed903cb2d0aed ctdb-client: Use
ctdb_rec_buffer_init() to initialize ctdb_rec_buffer

>
> The test util works just fine here.
>
> -Ralph
>
but not here, fails as described above, output for ./bin/tevent_glib -t
& ./bin/tevent_glib -g attached

source configured with ./configure.developer  --enable-spotlight


Noel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-out.bz2
Type: application/x-bzip
Size: 1441 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160128/53659f8b/test-out.bin>


More information about the samba-technical mailing list