25 de agosto de 2016 9:28
> To: Rodriguez Betancourt, Esteban
> Cc: dev@openvswitch.org
> Subject: Re: [ovs-dev] [PATCH] json: Use reference counting in json objects
>
> "dev" wrote on 08/16/2016 04:50:37 PM:
>
> > From: "Rodriguez Betancourt, Esteba
nd release
the old one.
Regards,
Esteban
From: Ryan Moats [mailto:rmo...@us.ibm.com]
Sent: jueves, 25 de agosto de 2016 9:28
To: Rodriguez Betancourt, Esteban
Cc: dev@openvswitch.org
Subject: Re: [ovs-dev] [PATCH] json: Use reference counting in json objects
"dev" wrote on 08
"dev" wrote on 08/16/2016 04:50:37 PM:
> From: "Rodriguez Betancourt, Esteban"
> To: "dev@openvswitch.org"
> Date: 08/16/2016 04:50 PM
> Subject: [ovs-dev] [PATCH] json: Use reference counting in json objects
> Sent by: "dev"
>
>
After profiling OVSDB insert performance it was found
that some significant portion of its time OVSDB is
calling the function json_clone.
Also, most of the usages of json_clone never modify the json,
just keeps it to prevent it to be freed.
With that in mind the struct json, json_create, json_clo