{"action":"created","issue":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/2339","repository_url":"https://api.github.com/repos/SpigotMC/BungeeCord","labels_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/2339/labels{/name}","comments_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/2339/comments","events_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/2339/events","html_url":"https://github.com/SpigotMC/BungeeCord/issues/2339","id":292803956,"number":2339,"title":"[not bug][info] BungeeCord performance (CPU, RAM etc)","user":{"login":"franciscopaniskaseker","id":8779476,"avatar_url":"https://avatars2.githubusercontent.com/u/8779476?v=4","gravatar_id":"","url":"https://api.github.com/users/franciscopaniskaseker","html_url":"https://github.com/franciscopaniskaseker","followers_url":"https://api.github.com/users/franciscopaniskaseker/followers","following_url":"https://api.github.com/users/franciscopaniskaseker/following{/other_user}","gists_url":"https://api.github.com/users/franciscopaniskaseker/gists{/gist_id}","starred_url":"https://api.github.com/users/franciscopaniskaseker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franciscopaniskaseker/subscriptions","organizations_url":"https://api.github.com/users/franciscopaniskaseker/orgs","repos_url":"https://api.github.com/users/franciscopaniskaseker/repos","events_url":"https://api.github.com/users/franciscopaniskaseker/events{/privacy}","received_events_url":"https://api.github.com/users/franciscopaniskaseker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-01-30T14:33:14Z","updated_at":"2018-02-02T14:46:11Z","closed_at":"2018-01-30T22:17:01Z","author_association":"NONE","body":"Hey folks :)\r\n\r\nI searched a lot in issues and spigot forums something relevant about these informations, but I have no luck. **I would like to know which are the most resource use points, mainly CPU, when use bungeecord (vanilla without plugins). Maybe centralize best practices.**\r\n\r\nI know bungeecord is a proxy server and it manage a lot of packets per second, but it does not explain a lot of CPU usage that I am seeing. \r\n\r\n**Some points that I need to talk:** \r\n- I am not seeing proportional use of resources when I have 400, 1000 or 10000 connections. So because of that I am trying to understand the mainly points of CPU usage. Hashs? checksum? md5? sha? which libraries? Maybe point some code that we can see cpu usage potential.\r\n- I trying to figure out how improve performance bungeecord with multiple instances (how many players per bungee, how many bungeecord per server etc). If bungeecord is not scalable, how can I improve performance with multiple instances.\r\n- Even with good G1GC parameters, I am not seeing bungeecord free all memory usage when we almost no player. I am producing some graths about memory usage and time and I am seeing, after 3 days, a low efficiency of GC to free memory with no players. Maybe is how G1GC work (if I do not need memory, so I will no work to free), but I do not think so.\r\n- Netty, for default, only test 1% of objects to try to inspect memory leak. Do we have some article about stress test about netty implementation?\r\n- What free java profiller usually people use to analyse bungeecord?\r\n- Do we have some test about usage openjdk or oracle java? openjdk is the standard as we know, but we had here some stress test already done?\r\n\r\nFor sure I know that is important to use last bungeecord commits, use last netty version and last jvm... and correct use about plugins. But I want to discuss what points is important to spend some time to understand how I can improve performance. **I do no want discuss about plugins and bungeecord forks concerns, only vanilla.** And **I do not want \"i think\" expressions.** I think will be more productive if we can be more technical."},"comment":{"url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/comments/362605644","html_url":"https://github.com/SpigotMC/BungeeCord/issues/2339#issuecomment-362605644","issue_url":"https://api.github.com/repos/SpigotMC/BungeeCord/issues/2339","id":362605644,"user":{"login":"franciscopaniskaseker","id":8779476,"avatar_url":"https://avatars2.githubusercontent.com/u/8779476?v=4","gravatar_id":"","url":"https://api.github.com/users/franciscopaniskaseker","html_url":"https://github.com/franciscopaniskaseker","followers_url":"https://api.github.com/users/franciscopaniskaseker/followers","following_url":"https://api.github.com/users/franciscopaniskaseker/following{/other_user}","gists_url":"https://api.github.com/users/franciscopaniskaseker/gists{/gist_id}","starred_url":"https://api.github.com/users/franciscopaniskaseker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franciscopaniskaseker/subscriptions","organizations_url":"https://api.github.com/users/franciscopaniskaseker/orgs","repos_url":"https://api.github.com/users/franciscopaniskaseker/repos","events_url":"https://api.github.com/users/franciscopaniskaseker/events{/privacy}","received_events_url":"https://api.github.com/users/franciscopaniskaseker/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T14:46:11Z","updated_at":"2018-02-02T14:46:11Z","author_association":"NONE","body":"Changed xmx 10GB to xmx 3GB and I am seeing same use of resources (IO and cpu) with less memory. Both cases GC does not use too much CPU.\r\n\r\nBuffers launched by netty without GC knowledge will not count in JVM heap, right?"}}
{"actor":{"display_login":"franciscopaniskaseker"}}