Skip to content
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

Odd slow performance rate #965

Closed
BrotherLavarius opened this issue Mar 19, 2015 · 8 comments
Closed

Odd slow performance rate #965

BrotherLavarius opened this issue Mar 19, 2015 · 8 comments

Comments

@BrotherLavarius
Copy link

Hi!
I got a problem thou i can't understand why it's happening.
I moved my server from one hosting to another
! same machine parameters <- that's important please note this!

Same CentOS 7 and java 8 from oracle distribution

I get perfect server performance both for some reason Lua processing in OC (OpenComputers) seem's oddly bad. I get 15second timeout before text appears and commands run.

I tryed to force native = same stuff
LuaJ = same stuff
increasing quota of proccessor = same lag not even using the cpu!
we tested memory access and harddrive I\O and just nothing
It's pretty strainge, can you assist please?

Also tryed downgrade to 1.4.9 = Same stuff there

@BrotherLavarius BrotherLavarius changed the title 1.5.3 latest for 1.7.10 preforms very slow Odd slow performance rate Mar 19, 2015
@BrotherLavarius
Copy link
Author

Also i found that the OC cant allocate memory for the Lua for some strainge

@fnuecke
Copy link
Member

fnuecke commented Mar 21, 2015

I get 15second timeout before text appears and commands run.

As in that's how long it takes for OpenOS to boot? Or are you running some custom code (startup script e.g.?)

Also i found that the OC cant allocate memory for the Lua for some strainge

What?

@Vexatos
Copy link
Contributor

Vexatos commented Mar 21, 2015

@fnuecke First one probably is that weird lag spike you get when turning on a computer for the first time because you're initializing some stuff there.

@fnuecke
Copy link
Member

fnuecke commented Mar 21, 2015

Except I'm not... anymore. Sounds are preloaded, have been for a while now. I have no clue what that lag is. And it certainly shouldn't 15 seconds.

@BrotherLavarius
Copy link
Author

Also i found that the OC cant allocate memory for the Lua for some strainge
Yes! I see on your MOTD in your OpenOS 0k memory. I found that with launching as root user fixes this issue.

As in that's how long it takes for OpenOS to boot? Or are you running some custom code (startup script e.g.?)

Load of the os is like 30-40 sec.
15 sec it the input lag. I can type something and it will appear after 15 second + 3-4 to run (even command)

I most sertain it's caused by Main OS of the Host, i will test this on debian branch and post an update.

@fnuecke
Copy link
Member

fnuecke commented Mar 24, 2015

Sounds like the worker threads are not getting a lot of CPU time to work with. I've added a setting to allow specifying a custom priority for the worker threads, please get build 459 and set threadPriority to 5 or so. If that does help, I'd say something is a bit wonky with your new servers thread scheduling.

@BrotherLavarius
Copy link
Author

Sounds like the worker threads are not getting a lot of CPU time to work with. I've added a setting to allow specifying a custom priority for the worker threads, please get build 459 and set threadPriority to 5 or so. If that does help, I'd say something is a bit wonky with your new servers thread scheduling.

Sad news, not helped, i will look in to this deeply on OS side and move to diffirent branch, do you need updates on my testing? If yes do a reply else close the issue.

@fnuecke
Copy link
Member

fnuecke commented Mar 26, 2015

While it seems odd, I can't help but think it's something with your server, since I haven't had any reports of such massive delays from anyone else :-/
Would still be interested in what it was if you figure it out. If I can help in testing, let me know.

@fnuecke fnuecke closed this as completed Mar 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants