|
Выбор эмулятора |
|
|
|
![Ответить в эту тему](style_images/uokit/t_reply.gif) ![Открыть новую тему](style_images/uokit/t_new.gif) |
Ответов
Aimed |
27.8.2021, 3:44
|
![](https://forum.uokit.com/uploads/av-15607.png)
![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif)
Grandmaster
Сообщений: 2.250
Регистрация: 29.12.2012 Группа: Пользователи Наличность: 8327
Пользователь №: 15.607
![](style_images/uokit/spacer.gif)
|
Поговорил с Jaedan об UO Outlands и их миграции на .net5. Оказалось что они все же мигрировали, так что тут я ошибся. Но, мои рассуждения о полезности net5 для УО сервера, в контексте перформанса, были полностью подтверждены. Он сказал практически то же самое что и я здесь, ещё в самом начале. Цитата Jaedan — Today at 01:40 Well, as with anything, it's complicated First, we are hosted on AWS in us-east-1 On purpose - best balance of latency for our players We changed from an r5a.2xlarge to a z1d.2xlarge and this made a massive difference RunUO is fundamentally single threaded. There's a little bit of fan out, but not really in the game logic So moving to a high frequency instance is most important Just updating to .net 5 I don't think gives much improvement. It's worth something, but not much But it does give us a new c# version and we can use that to make our code much more efficient Outlands uses a totally different network stack. RunUO stack absolutely can introduce enormous latency like that When the server is busy, it's at the mercy of getting it's threads scheduled to run
Val — Today at 02:22 Are u using a library for that or something made yourself? Wait, so you didn't move regions, how come players have 110ms latency compared to 250ms in the past?
Jaedan — Today at 02:25 I wrote a new network stack in C You can't write a high performance network stack using the c# standard library. It just doesn't work the right way
Val — Today at 02:25 I agree :slight_smile:
Jaedan — Today at 02:26 This is why even things like asp.net use libuv, not native .net
А вот его ответ по поводу внутреннего пинга в 200-1000мс на локалхосте: Цитата Jaedan — Today at 02:48 I don't see how it can happen locally if you have at least 4 cores and your system isn't at max cpu The issue with the existing stack in RunUO is that it schedules tasks onto the c# threadpool And if you have 8 cores and 1500 tasks Those tasks don't seem to get scheduled in order always. It can take a long time for the task to actually get CPU time The tasks also do blocking CPU operations, so the thread pool keeps spawning more threads because it's set is blocked So you end up with hundreds of threads executing thousands of tasks And this can even interrupt the main game thread - that's when it gets bad
Val — Today at 03:00 Okay, so to clarify it one last time, you didn't switch regions within AWS and you also didn't switch from some other hosting provider to AWS, after the release of UO Outlands?
Jaedan — Today at 03:01 We switched to AWS in 2018 right after launch to mitigate DDoS and we haven't changed region since. We did just recently change the instance type and that made a big difference Получается что спад пинга у UO Outlands все же связан с переездом на более высокочастотный ЦПУ в комбинации с новым нетворк стаком, который Jaedan написал под винду на С и который работает на 1 треде. Так что тут я маленько ошибся, по поводу того что сетевой код не может вызвать такой лаг. Т.к. это больше зависит от главного треда, где обрабатывается игровая логика. Но если у тебя с тредами жопа на сервере, из-за асинк сокет кода и главный тред начинает из-за этого прерывать, то тут да... эт большая проблема и об этом я не знал. Но вы ошиблись больше xD потому что net5 никакого отношения к улучшению их ситуации с пингом не имеет.
|
|
|
|
nullptr |
27.8.2021, 9:15
|
![](https://forum.uokit.com/uploads/av-19916.jpg)
![*](style_images/uokit/pip.gif) ![*](style_images/uokit/pip.gif)
Neophyte
Сообщений: 49
Регистрация: 13.3.2021 Группа: Пользователи Наличность: 0
Пользователь №: 19.916
![](style_images/uokit/spacer.gif)
|
На сколько я знаю, Batman и Jaedan, знакомые. В данный момент Jaedan, просит отделить Ядро MUO, От контента, что бы можно было использовать со своим контентом. Так что думаю не так уж всё и хорошо на Outlands. (IMG: https://i.ibb.co/8KpDgVn/img.png)
|
|
|
|
Сообщений в этой теме
Ubu Выбор эмулятора 18.7.2018, 14:11 Juzzver RunUO, за то что:
-Вменяемый язык программирования... 18.7.2018, 15:39 Ubu Спасибо! Ожидал подобный ответ. Лет 7 не рисер... 18.7.2018, 15:50 Juzzver ServUO - это форк ранки, они следят за последними ... 18.7.2018, 15:55 Ubu Мне кажется или на сайте runuo не работает половин... 18.7.2018, 16:08 olduo.com смотря для чего сервер. простота кастомизации ПОЛа... 18.7.2018, 16:09 RL_ka Обсуждали уже много раз. Итог:
пол - если тебе хо... 18.7.2018, 16:33![](style_images/uokit/to_down_pipe.gif) StaticZ пол - если тебе хочется ковырять уо, делать что-то... 21.7.2018, 14:56 Ubu Juzzver, смотри посмотри лс, пожалуйста. 18.7.2018, 16:33 Juzzver
последние года 2 разработчики оф. ранки забили на... 18.7.2018, 16:34 Atheist сфера конечно, если нет крутых навыков в с#
куча д... 18.7.2018, 20:08 Ubu Мнения разделились :) 19.7.2018, 0:13 Wap открытый код исходника, правда я не замечал чтобы ... 19.7.2018, 1:04 Juzzver
Но как я уже подметил выше, есть множество форков... 20.7.2018, 9:56 Atheist кстати да IN:X 51я сфера-стайл тарановская рануошк... 20.7.2018, 11:00 Ozzy Osbourne Привет! Если бы вы сейчас запускали новый сер... 21.7.2018, 14:28 Ubu Привет. Подскажите, на какие средства для разработ... 31.3.2021, 22:26 Ubu Если кто-то готов проконсультировать нормально, пи... 1.4.2021, 2:55 Ozzy Osbourne Зависит от плотности работы с клиентом, которая те... 1.4.2021, 10:23 Ubu хоть убейте, так и не понял чем рануо от сервуо от... 3.4.2021, 0:58![](style_images/uokit/to_down_pipe.gif) Juzzver
хоть убейте, так и не понял чем рануо от сервуо о... 3.4.2021, 3:20 Ubu А подскажите плиз как в CentrEd+ карту сохранить? ... 3.4.2021, 4:37 Ozzy Osbourne
хоть убейте, так и не понял чем рануо от сервуо о... 3.4.2021, 13:43![](style_images/uokit/to_down_pipe.gif) Juzzver
RunUO is no longer officially supported by a core... 3.4.2021, 19:38 Ubu Ozzy, понял, спасибо.
подскажите с CentrEd+, как... 3.4.2021, 13:54 Ubu
интересно, а что говорят интересного будет? или м... 3.4.2021, 20:56![](style_images/uokit/to_down_pipe.gif) Juzzver
интересно, а что говорят интересного будет? или м... 3.4.2021, 22:40![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) nullptr
Там же есть дев от ModernUO, который уже внес бол... 18.8.2021, 17:24![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
У ModernUO, самый большой плюс современный tcp ст... 18.8.2021, 18:16![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr
Глянул я ваш "современный tcp стек", пр... 18.8.2021, 19:52![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) Aimed
Проблема даже не в коде, просто собрав проект на ... 18.8.2021, 23:22![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) nullptr
А причем тут HTTP протокол? O_o УО сервер не исп... 19.8.2021, 0:01![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
Хорошо, давай детально. HTTP реализован на TCP и... 19.8.2021, 2:34![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr
Только причем тут HTTP протокол? УО не использует... 19.8.2021, 2:54![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
RunUO использует socket, если точнее то System.Ne... 19.8.2021, 3:14![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr
Зачем серверу слать HTTP запросы и главное, кому?... 19.8.2021, 3:25![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
Суть не в том, что ты отправляешь, а чем ты отпра... 19.8.2021, 4:37![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr
skip
Смотри ты узнал, что-то новое на этом и зако... 19.8.2021, 14:23![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
Смотри ты узнал, что-то новое на этом и закончим.... 19.8.2021, 16:43![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Juzzver
А что значит "значительно снижает пинг... 24.8.2021, 7:46![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) M0rBiT
По поводу аутлендса, они ж таки лагали дико пос... 24.8.2021, 9:54![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
В уо можно сказать есть свой внутренний пинг, кот... 24.8.2021, 18:36![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr Скора net 6 выйдет, не исключаю, перехода :D 25.8.2021, 11:08![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
Скора net 6 выйдет, не исключаю, перехода :D
Е... 27.8.2021, 0:55 PrintScrin хотел написать aimed тут уже оставил свой пост?
а... 18.8.2021, 22:16![](style_images/uokit/to_down_pipe.gif) Aimed
хотел написать aimed тут уже оставил свой пост?
... 18.8.2021, 22:49 M0rBiT Может и перенесли, явно лучше сделали.
Раньше рыд... 25.8.2021, 8:40![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr
Опять он думает ))
Про мега прирости по производи... 28.8.2021, 13:34![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
Увы, эксперта по .net из тебя не выйдет, попробуй... 28.8.2021, 18:56 nullptr Новые релизы MUO, первым будут поддерживать возмож... 19.9.2021, 20:05![](style_images/uokit/to_down_pipe.gif) Aimed
Новые релизы MUO, первым будут поддерживать возмо... 22.9.2021, 22:08![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) nullptr
А как же клиент?
Клиент на базе CUO выложу после ... 23.9.2021, 13:29![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) Aimed
Клиент на базе CUO выложу после тестов, в данный ... 24.9.2021, 3:15![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) nullptr
А ты договаривался с Тимуром что б он это в Орион... 24.9.2021, 11:48 nullptr Исходники последней версии, на базе неё в дальнейш... 1.10.2021, 14:08![](style_images/uokit/to_down_pipe.gif) Juzzver
Исходники последней версии, на базе неё в дальней... 1.10.2021, 17:39![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) nullptr
отлично :)
Все стили поддерживаются или есть каки... 1.10.2021, 17:57![](style_images/uokit/to_down_pipe.gif) ![](style_images/uokit/spacer.gif) ![](style_images/uokit/spacer.gif) KaPeIkA
sciter-js, фигово работает с некоторые css селект... 3.5.2024, 12:45 Ubu Народ, а кто подскажет, почему даже на современных... 3.5.2024, 1:45![](style_images/uokit/to_down_pipe.gif) Legnes
Народ, а кто подскажет, почему даже на современны... 21.6.2024, 11:43 Sirocco Да 3.5.2024, 9:43
6 чел. читают эту тему (гостей: 6, скрытых пользователей: 0)
Пользователей: 0
|
|