-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mtos cache in ram to boost performance #121
Conversation
I updated also my master with all open changes ("Beta") so you can use the repo to test all open changes |
I was going to ask about tetris as soon as I saw the title. Looking forward
to trying this.
…On Thu, Mar 22, 2018 at 8:56 AM, bell07 ***@***.***> wrote:
I updated also my master with all open changes ("Beta") so you can use the
repo to test all open changes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhktCbBkOKWiOC40qhiDCBz-V60koOPUks5tg62XgaJpZM4S3FVq>
.
|
Bug found picking laptop up and place again results in data loss. Investigating... |
The save of OS state on laptop pickup to itemmeta does work proper now from cached OS |
Added some additional forced sync's: if app changed, 5 seconds idle (as before) or each 15 seconds in usage. Now the changes are "safe enough" for me to be merged. Did anyone tested the changes? Please take additional tests after the last changes. If nothing bad happens, the change could be merged. I realize that we can be held responsible for data security of in laptop stored informations, if a bug deletes the whole data of all laptops :-/ |
I tested your updated from a couple weeka ago with no ill effect. Will try
to find time to test this version tonight.
…On Wed, Apr 4, 2018 at 2:34 PM, bell07 ***@***.***> wrote:
Added some additional forced sync's: if app changed, 5 seconds idle (as
before) or each 15 seconds in usage.
Now the changes are "safe enough" for me to be merged.
Did anyone tested the changes? Please take additional tests after the last
changes. If nothing bad happens, the change could be merged.
I realize that we can be held responsible for data security of in laptop
stored informations, if a bug deletes the whole data of all laptops :-/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhktCcPmXVCrrVcZL7epGAGQbmFFCdhmks5tlSA6gaJpZM4S3FVq>
.
|
Before this change for each action the the nodemeta was read and the "Operating system" object restored. After the action processing the nodemeta was saved to node and objec gets lost.
Now an Lua-table is used to cache the "Operating system" instances to avoid unnecessary reads and wirtes to nodemeta. For some operations the full sync is forced (like inserting disk) but usual the "Operating system" instance is cached till 5 seconds not used.
The most noticable performance boost is in tetris app because the game requests the OS 3x per second
The drawback is in case the server crashes maybe some changes are not stored.
@Gerold55 @Grizzly-Adam @apachano please thest the changes intensive before we can merge them