Displaying 3 results from an estimated 3 matches for "521366d1854b".
2016 Sep 26
3
[PATCH] Improve memory management of nbdkit python plugin example
...more (20-25 GB) on the first write.
This changes the code to use bytearray everywhere and use the proper
methods to change bytearray objects directly. With the patch applied,
nbdkit with a 5 GB image will still only use 5 GB RAM even during heavy
read/write activity.
Regards,
Carl-Daniel
diff -r 521366d1854b -r d7d5078d08c7 plugins/python/example.py
--- a/plugins/python/example.py Sun Jul 10 17:10:30 2016 +0100
+++ b/plugins/python/example.py Sun Sep 25 05:04:02 2016 +0200
@@ -29,7 +29,7 @@
# reconnect to the same server you should see the same disk. You
# could also put this into the handle, so the...
2016 Sep 26
1
Re: [PATCH] Improve memory management of nbdkit python plugin example
...array everywhere and use the proper
>> methods to change bytearray objects directly. With the patch applied,
>> nbdkit with a 5 GB image will still only use 5 GB RAM even during heavy
>> read/write activity.
>>
>> Regards,
>> Carl-Daniel
>>
>> diff -r 521366d1854b -r d7d5078d08c7 plugins/python/example.py
>> --- a/plugins/python/example.py Sun Jul 10 17:10:30 2016 +0100
>> +++ b/plugins/python/example.py Sun Sep 25 05:04:02 2016 +0200
>> @@ -29,7 +29,7 @@
>> # reconnect to the same server you should see the same disk. You
>>...
2016 Sep 26
0
Re: [PATCH] Improve memory management of nbdkit python plugin example
...s changes the code to use bytearray everywhere and use the proper
> methods to change bytearray objects directly. With the patch applied,
> nbdkit with a 5 GB image will still only use 5 GB RAM even during heavy
> read/write activity.
>
> Regards,
> Carl-Daniel
>
> diff -r 521366d1854b -r d7d5078d08c7 plugins/python/example.py
> --- a/plugins/python/example.py Sun Jul 10 17:10:30 2016 +0100
> +++ b/plugins/python/example.py Sun Sep 25 05:04:02 2016 +0200
> @@ -29,7 +29,7 @@
> # reconnect to the same server you should see the same disk. You
> # could also put thi...