mod LAG impact comparison [closed]

Post Reply
User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod LAG impact comparison [closed]

by Festus1965 » Post

mod LAG impact comparison

[closed] as I have new motherboard with at moment only 16 GB RAm = can't make new tests that 'compare'

or the higher the impact, the worse your lag will get!


Read this post how I proofed that it works, and profiler is most easy to use.
Short: I see pipeworks+technic using >50% of my load by profiler, and false them reduce my CPU load by ~50% also, yeah. So I choose lower lag impact mod techage, as options shown in 2nd post.
I have lower lag, or can allow more gamer in now ...

minetest.conf add:

Code: Select all

profiler = true
profiler.load = true
profiler.default_report_format = txt
hardware: I7-4770 3.4 GHz, 4*8 GB RAM (4 slots), NVME disc, and OS tuning using CACHE
took a 5.5.0 (later 5.5.1) engine + guess most needed belonging MTG 5.5.0 (5.5.1)
and just one mod ! (if not need dependencies)

and let it run on 'empty' map for 10+ hours

and then as gamer with server privs in the game logged in:

Code: Select all

/profiler save
then you easy can read the txt file, you just need to make it better readlable:
* make a empty line between two mods
* sort the biggest 10 to top
... then you see what mods make your sever lag !

before:

Code: Select all

 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 poshud:                                       |         2 |     35255 |        58 |   0.0 |  97.1 |   3.4
  - globalstep[1] ...........................  |         2 |     35255 |        58 |   0.0 |  97.1 |   3.4
  - /poshud .................................  |         7 |        21 |        13 |   0.1 |   3.2 |   1.0
  - on_leaveplayer[1] .......................  |         1 |        85 |         4 |   0.0 |   7.5 |   0.2
 flowers:                                      |         0 |       125 |         0 |   0.0 |   3.5 |   0.0
  - ABM 'Mushroom spread' ...................  |         1 |       125 |         5 |   0.0 |   3.5 |   0.2
 techage:                                      |         0 |      8904 |         6 |   0.0 |  79.2 |   0.4
  - LBM 'Upgrade reactor' ...................  |        14 |        65 |        28 |   0.0 |   1.9 |   0.5
  - on_leaveplayer[3] .......................  |         2 |        80 |         5 |   0.0 |   3.0 |   0.2
  - /my_expoints ............................  |         8 |        15 |        11 |   0.1 |   0.2 |   0.1
  ...
and after separate and sort (important is the last number behind the main line of the mod itself: here technic 37.5, pipeworks 21.5 the mod sum avg %)

Code: Select all

 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 technic:                                      |         1 |     50740 |       704 |   0.0 |  99.4 |  37.5
  - on_leaveplayer[1] .......................  |         3 |       278 |        10 |   0.0 |   4.0 |   0.4
  - on_player_receive_fields[2] .............  |         1 |        41 |         1 |   0.0 |   2.8 |   0.0
  - ABM[1] ..................................  |        45 |       166 |        71 |   0.1 |   2.7 |   1.8
  - ...

 pipeworks:                                    |         0 |     95305 |       804 |   0.0 |  99.1 |  21.5
  - ABM[4] ..................................  |         8 |      3458 |       425 |   0.1 |  39.8 |   9.5
  - globalstep[2] ...........................  |         1 |     36004 |         3 |   0.0 |  97.5 |   0.2
  - globalstep[1] ...........................  |         1 |     95294 |       807 |   0.0 |  99.1 |  21.4
  - ...

 wielded_light:                                |         0 |   1717217 |       219 |   0.0 |  97.9 |   6.7
  - globalstep[1] ...........................  |         1 |     48164 |        85 |   0.0 |  97.9 |   3.3
  - on_punch[1] .............................  |        22 |       274 |        52 |   0.0 |  13.3 |   1.9
  - on_activate[1] ..........................  |        10 |     17075 |       166 |   0.0 |  35.7 |   4.3
  - ...

...
and so you see very easy YOUR own server main lag and also CPU usage reasons = mods.
And then you can decide to keep and know, or to change to lower impact mods = less lag / more gamer.


example of CPU usage with only empty world, no gamer, no mods on different ones:
as similar to more load, also CPU getting more busy and reach 100% is no fun gaming ...
* 15.9 - 30.9 % - I7-4770 3.4 GHz - 4 Core/8 Thread - 32 GB Ram (minetestserver 200 mods, 20 gamer)
* 4.0 - 5.3 % - I7-4770 3.4 GHz - 4 Core/8 Thread - 32 GB Ram (minetestserver, no mods, no gamer)
* 3.3 - 5.3 % - I7-4770 3.4 GHz - 4 Core/8 Thread - 32 GB Ram (minetest --server, no mods, no gamer)
* 0.7 - 1.5 % - Intel E1, 1.4 GHz - 1 Core / 2 Thread - 4 GB-Ram (minetest --server,, no mods, no gamer :interesting)

then take a /profiler save extract.

So you admins, will have a imagination about what happen when you add one of this measured mods to your server and lag.


I think, I should get the most activate mods, even their items are not used, for a first impression where to be careful, choosing an mod for a server ?

but also never forget to check out tuning in:
* hardware (most more RAM (slots better 4*4GB RAM than 1*16) and faster disc as NV, SSD than HDD)
* OS tuning, like enable/better cache usage, no swappiness
* database better/faster postgresql (with set more Cache) -- than maybe sqlite3
* minetest engine tuning, as keep data longer, less active mapblocks, lower globalstep ?
* mod tuning (take the one less impact, reduce manual as ABM interval/chance)
as a lot of hints and practical changes all over my server Thread : Asia Thailand and on tuning.minetest.one

btw, this idea is so old ... and never done yet:
burli wrote:
Thu Apr 14, 2016 21:04
Hi, I want to know which type of mod has an impact to the fps, to the server, to both or has no effect

For example mobs, mapgens, mods like ambience, plantlife...
Last edited by Festus1965 on Wed Jun 22, 2022 12:38, edited 27 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod LAG impact comparison - Result summary

by Festus1965 » Post

testing on empty world:
just engine 5.5.0 + mtg 5.5.0 run several times, some time, default options/settings
generated just standard area, mean near 125 Mapblocks (5*5*5), not moving gamer.

base is minetest game as 100 %

test with just one other mod, to see their impact On low part world, NO gamer in:
% of all used CPU time / rising load in % to basic config (100/(100 - tested mod %)) = + load


** 93.7 - 93.8 % / + 1.487 % load : advtrains ... advtrains via github.com (3cb21a8/10.02.2022) tested ...
** 84.3 % / + 536 % load : poshud
** 75.6 % (18.4 + 57.2%) / + 310 % load : technic ... via technic ... plus basic_materials, moreores and pipeworks
** 69.1 % / + 223 % load : petz via github.com/runsy/petz 4688047 / 10.03.2022 - tested
** 67.1 % / + 204 % load : pipeworks via ... github.com/mt-mods/pipeworks with basic_materials - tested
** 64.7 % / + 183 % load : Witt-2
** 61.9 % : technic + pipeworks with Festus1965 both mods tuning options (no mt.conf)
** 51.9 % / + ~109 % load : poshud
** 51.8 % / + 107.5 % load : character_anim
** 51.1 % / + 104.5 % load : sprint
** 48.7 % / + 95 % : animalia 13.8 % + with needed Creatura 34.9 %
** ~~ 40% : animalworld (know from PAW server)
** 30.4 % (32.3 %) / + 43.7 % load : techage via github.com/joe7575/techage 8b0d340 20 days ago (? 22.03.2022)
** 30.4 % / + 42.9 % load : wielded_light, new tested, 12h
** 28.9 % / + 38 % load : hbsprint
** 21.0 % / + 26.6 % load : modlib as a dependency alone (doing nothing)
** 20.7 % / + 26.1 % load : playeranim
** 18.5 % / + 22.6 % load : unified_inventory
** 18.4 % technic beside pipeworks/ + 22.5 % load only extra: but ! as pipeorks is needed for technic = 75.6 %
** 3 % / + 3.3 % load : mobs_redo plus ... animals, monster, sky water, horse (30 diff - as petz 48?)
** 0.1 % / + ? % load : airutils (d1e5ec2/03.05.2022), as base to supercub
** 0.1 % / + ? % load : supercub ... supercup, as depend on airutils
** 0 % / + 0 % load : terumet (never played myself)
** 0 % / + 0 % load : mobkit (as needed depend mod) tested here
** 0 % / + 0 % load : biofuel (dd8a199/21.02.2022/V0.7), as base to supercub
** 0 % / + 0 % load : what_is_this_owo


new coming in:
* ???

So as a result over 'theme'
* technic:
** first choice is terumet as 0 impact on empty world, or let say ' no overhead'
** second is techage (+43.7 % load) as include tubesystem
** not recommended : technic, with need of pipeworks (together + 310 % load)
not recommended as of pipeworks AND technic refuses to rethink their lag impact

* mobs :
** first choice is mobs_redo with belonging mobs with just + 3.3% load,
** before next animalia (+needed creatura) + 95% load (double lag)
** not recomended: petz with raising 223% load (tripple lag) ... maybe for fast and strong servers only

* cars / airplanes ?
as some base on mobkit as mobs, interesting
** supercup as even with 2 depending mods, as a sum of only 0.1% CPU time on blank MTG

* sprinting
** hbsprint : 28.9 % + 38 % load, on only mtg base server (= lower impact, better choice based on lag/cpu)
** sprint : 51.1 % / + 104.5 % load

* node info
hud top show what you look at, name ...
** what_is_this_owo ... 0 % empty server impact
** witt ... 64.7 % / + 183 % load


So how to calculate your servers expected impact :
Take your server, only allow mtg and let it run for 24 hours.
check /status maybe 4-6 times short logged it, take a profiler save extract
watch your CPU avg usage ... via top, htop or whatever.

So if you had an average of 10% all CPU was working, add/multiply with the % load shown:
mean, with your server mtg and maybe pipeworks your avg CPU usage is then about ~30 %, and the measured lag tripled also.


You don't believe ?
Just go this kind of server sorting, see the high lag server and look what mods are running. Got it ?


IF you want to have a low lag server, with option for much gamer having fun ?
Read and learn how to keep lag low - with choose the right low lag mods



games
on a Intel E1, 1400 GHz, 2 Threads, 4 GB RAM
reference is same time running htop time used on CPU:
(from bad high er impact sorted down to lower impact compare to same time running htop and it's usage)

* factor 2.75, or 175 % more / between 0.7-1.6 CPU / 3.9 % RAM : mineclone5 (361314e / Dec 10, 2021)
* factor 1.71, or 71 % more / between 0.7-2.0 % CPU / 3.9 % RAM: minetest_game (5.5.0 cc3e7be/31.01.2022)
Last edited by Festus1965 on Tue Nov 01, 2022 01:57, edited 107 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod impact comparison : empty server (engine+mtg 5.5.0)

by Festus1965 » Post

results empty:

like this: -sorted - after 2 min, 1 login as of /profiler save command

Code: Select all

 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 player_api:                                   |         1 |        54 |         7 |   2.0 | 100.0 |  86.8
  - globalstep[1] ...........................  |         1 |        54 |         7 |   0.9 | 100.0 |  86.8
  - on_joinplayer[2] ........................  |        22 |        22 |        22 |   4.7 |   4.7 |   4.7
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       113 |         1 |   0.0 |  91.9 |  11.9
  - globalstep[1] ...........................  |         1 |       113 |         3 |   0.2 |  91.9 |  22.7

 dungeon_loot:                                 |         0 |       653 |        18 |   0.0 |  95.6 |   2.7
  - on_generated[1] .........................  |       653 |       653 |       653 |  95.6 |  95.6 |  95.6

 default:                                      |         0 |       308 |         3 |   0.0 |  95.7 |   2.0
  - ABM 'Grass spread' ......................  |        49 |        97 |        73 |  79.0 |  85.8 |  82.4
  - ABM 'Grass covered' .....................  |       308 |       308 |       308 |  95.7 |  95.7 |  95.7
  - on_joinplayer[1] ........................  |        13 |        13 |        13 |   2.8 |   2.8 |   2.8

 butterflies:                                            |         0 |        10 |         0 |   0.0 |  27.6 |   0.8
  - on_generated[1] ...................................  |         8 |        10 |         9 |   1.5 |  27.6 |  14.5

 env_sounds:                                             |         0 |        96 |         0 |   0.0 |  20.7 |   0.2
  - on_joinplayer[1] ..................................  |        96 |        96 |        96 |  20.7 |  20.7 |  20.7

 sfinv:                                                  |         0 |       142 |         1 |   0.0 |  30.6 |   0.2
  - on_joinplayer[1] ..................................  |       142 |       142 |       142 |  30.6 |  30.6 |  30.6

 binoculars:                                             |         0 |        52 |         0 |   0.0 |  11.2 |   0.1
  - on_joinplayer[1] ..................................  |        52 |        52 |        52 |  11.2 |  11.2 |  11.2

 fireflies:                                              |         0 |         6 |         0 |   0.0 |   3.4 |   0.1
  - on_generated[1] ...................................  |         1 |         6 |         3 |   0.9 |   3.4 |   2.2

 ??:                                                     |         0 |        65 |         0 |   0.0 |  14.0 |   0.1
  - on_joinplayer[1] ..................................  |        65 |        65 |        65 |  14.0 |  14.0 |  14.0

 map:                                                    |         0 |        39 |         0 |   0.0 |   8.4 |   0.1
  - on_joinplayer[1] ..................................  |        39 |        39 |        39 |   8.4 |   8.4 |   8.4

 mtg_craftguide:                                         |         0 |         8 |         0 |   0.0 |   1.7 |   0.0
  - on_joinplayer[1] ..................................  |         8 |         8 |         8 |   1.7 |   1.7 |   1.7

 weather:                                                |         0 |        21 |         0 |   0.0 |   4.5 |   0.0
  - on_joinplayer[1] ..................................  |        21 |        21 |        21 |   4.5 |   4.5 |   4.5

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |       683 |        13 | 100.0 | 100.0 | 100.0
as then a base for later impact, in reduce a before dominant mod, and the rise of main CPU time
... gonna play a bit with it ...

... so first question, in an empty world, map just generated around spawn, never move gamer ... so much work peak at dungeon, and most sum as player_api.
But this gives already some hint about other mod impact, as the lower this 3 mod have been pushes, the higher another mod is working.

100 % base minetest_game:
* player_api : 86.8 %
* fire : 4.7 %
* dungeon_lot : 2.7 %
... more this post

later : I had to recalculate this result as sum was 104.8 %, mean player_api is about 82.82 % of 100 then.


Here I might say, EVEN MTG have low impact, I see the NEED of checking player_api as it uses the MAIN part of cpu time registered by profiler for mtserver, EVEN most time no gamer logged in. WHY ?
Why a mod, here player_api need so much % of mt server used CPU, even no gamer logged in ?
This here seen problem goes then later to other tested mods, working a lot even no node or item of its own existing!
Last edited by Festus1965 on Mon May 16, 2022 04:54, edited 5 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod impact comparison : advtrains (3cb21a8/10.02.2022)

by Festus1965 » Post

so today seam calm and silent

I start with a test
* this empty server engine 5.5.0 - with mtg 5.5.0
and today
* mod advtrains source (3cb21a8/10.02.2022)

and there is already a problem: which one ?
* Forum.minetest.net open by orwell (Mon May 23, 2016 03:58) leas in first post to
** ContentDB and so to also to ...
** git.bananach.space/advtrains.git/
Google search with 'minetest git mod advtrains lead instead to:
* github.com/Montandalar/advtrains

but I an a fan of hithub, even there is a very actual commit.

started not funny:

Code: Select all

2022-04-06 08:20:05: WARNING[Main]: Mod assets at /home/thomas/.minetest/mods/advtrains/assets:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains at /home/thomas/.minetest/mods/advtrains/advtrains:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: 	description.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains_train_track at /home/thomas/.minetest/mods/advtrains/advtrains_train_track:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Undeclared global variable "mesecon" accessed at .../.minetest/mods/advtrains/advtrains_train_track/init.lua:150
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains_train_subway at /home/thomas/.minetest/mods/advtrains/advtrains_train_subway:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains_train_steam at /home/thomas/.minetest/mods/advtrains/advtrains_train_steam:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains_train_japan at /home/thomas/.minetest/mods/advtrains/advtrains_train_japan:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains_train_industrial at /home/thomas/.minetest/mods/advtrains/advtrains_train_industrial:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Mod advtrains_luaautomation at /home/thomas/.minetest/mods/advtrains/advtrains_luaautomation:
2022-04-06 08:20:05: WARNING[Main]: 	Mods not having a mod.conf file with the name is deprecated.
2022-04-06 08:20:05: WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
2022-04-06 08:20:05: WARNING[Main]: Undeclared global variable "mesecon" accessed at ...minetest/mods/advtrains/advtrains_luaautomation/init.lua:36
2022-04-06 08:20:05: ERROR[Server]:  Failed to read advtrains save data from file .minetest/worlds/engine550/advtrains: .minetest/worlds/engine550/advtrains: No such file or directory
2022-04-06 08:20:05: ERROR[Server]:  Failed to read advtrains_luaautomation save data from file .minetest/worlds/engine550/advtrains_luaautomation: .minetest/worlds/engine550/advtrains_luaautomation: No such file or directory
...
2022-04-06 08:20:05: WARNING[Server]: Undeclared global variable "advtrains_itm_init" accessed at /home/thomas/.minetest/mods/advtrains/advtrains/init.lua:364
2022-04-06 08:20:05: ACTION[Main]: World at [.minetest/worlds/engine550]
2022-04-06 08:20:05: ACTION[Server]: [advtrains][load_all]Loaded advtrains save files 
2022-04-06 08:20:05: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30005.
2022-04-06 08:20:05: WARNING[Server]: Undeclared global variable "advtrains_itm_mainloop" accessed at /home/thomas/.minetest/mods/advtrains/advtrains/init.lua:333
but this is not the reason,
server is running and after this day I will log in, and just take a /profiler save to see its idle impact, mean nothing build that this mod HAD to use CPU time at all.

... running test ... about 10 hours

short halftime sneak: after about 5 hours:
93.7 % for a mod, that has nothing to do at all, as NO any track or train was build ? Wahhh ???

Code: Select all

instrumentation                                |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 advtrains:                                    |         5 |      1871 |        20 |   3.9 | 100.0 |  93.7
  - globalstep[1] ...........................  |         5 |      1871 |        20 |   3.3 | 100.0 |  93.7
  - on_joinplayer[1] ........................  |         3 |         3 |         3 |   0.6 |   0.6 |   0.6

 player_api:                                   |         0 |        57 |         0 |   0.0 |  75.0 |   3.8
  - globalstep[1] ...........................  |         1 |        57 |         1 |   0.1 |  75.0 |   5.0
  - on_joinplayer[2] ........................  |        26 |        26 |        26 |   5.1 |   5.1 |   5.1
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       151 |         0 |   0.0 |  74.8 |   2.5
  - globalstep[1] ...........................  |         1 |       151 |         1 |   0.1 |  74.8 |   4.8

 default:                                      |         0 |       223 |         2 |   0.0 |  77.3 |   1.7
  - ABM 'Grass spread' ......................  |        38 |       130 |        85 |  46.3 |  75.6 |  65.9
  - on_joinplayer[1] ........................  |        13 |        13 |        13 |   2.5 |   2.5 |   2.5
  - ABM 'Grass covered' .....................  |        84 |       223 |       148 |  58.7 |  77.3 |  69.3


 flowers:                                      |         0 |         9 |         0 |   0.0 |  17.6 |   0.2
  - ABM 'Mushroom spread' ...................  |         4 |         4 |         4 |   9.1 |   9.1 |   9.1
  - ABM 'Flower spread' .....................  |         7 |         9 |         8 |  10.0 |  17.6 |  13.8

 sfinv:                                                  |         0 |       157 |         0 |   0.0 |  30.6 |   0.1
  - on_joinplayer[1] ..................................  |       157 |       157 |       157 |  30.6 |  30.6 |  30.6

 env_sounds:                                             |         0 |        98 |         0 |   0.0 |  19.1 |   0.1
  - on_joinplayer[1] ..................................  |        98 |        98 |        98 |  19.1 |  19.1 |  19.1


 mtg_craftguide:                                         |         0 |         9 |         0 |   0.0 |   1.8 |   0.0
  - on_joinplayer[1] ..................................  |         9 |         9 |         9 |   1.8 |   1.8 |   1.8

 weather:                                                |         0 |        20 |         0 |   0.0 |   3.9 |   0.0
  - on_joinplayer[1] ..................................  |        20 |        20 |        20 |   3.9 |   3.9 |   3.9

 binoculars:                                             |         0 |        52 |         0 |   0.0 |  10.1 |   0.0
  - on_joinplayer[1] ..................................  |        52 |        52 |        52 |  10.1 |  10.1 |  10.1

 map:                                                    |         0 |        38 |         0 |   0.0 |   7.4 |   0.0
  - on_joinplayer[1] ..................................  |        38 |        38 |        38 |   7.4 |   7.4 |   7.4

 ??:                                                     |         0 |        78 |         0 |   0.0 |  15.2 |   0.0
  - on_joinplayer[1] ..................................  |        78 |        78 |        78 |  15.2 |  15.2 |  15.2
-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         5 |      1874 |        22 | 100.0 | 100.0 | 100.0
after 7 hours 13 minutes
advtrains - still without any crafted block, build rail or train : 93.8%

Code: Select all

(T@__builtin)A total of F289443E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 advtrains:                                    |         5 |      1871 |        21 |   3.9 | 100.0 |  93.8
  - globalstep[1] ...........................  |         5 |      1871 |        21 |   2.9 | 100.0 |  93.8
  - on_leaveplayer[1] .......................  |         2 |         2 |         2 |   3.4 |   3.4 |   3.4
  - on_joinplayer[1] ........................  |         3 |         6 |         4 |   0.6 |   1.1 |   0.8

 player_api:                                   |         0 |        57 |         0 |   0.0 |  75.0 |   3.8
  - globalstep[1] ...........................  |         1 |        57 |         1 |   0.1 |  75.0 |   5.0
  - on_leaveplayer[1] .......................  |         1 |         1 |         1 |   1.7 |   1.7 |   1.7
  - on_joinplayer[2] ........................  |        20 |        26 |        23 |   3.6 |   5.1 |   4.3
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       151 |         0 |   0.0 |  80.2 |   2.5
  - globalstep[1] ...........................  |         1 |       151 |         1 |   0.1 |  80.2 |   4.8

 flowers:                                      |         0 |        21 |         0 |   0.0 |  32.8 |   0.0
  - ABM 'Mushroom spread' ...................  |         4 |         4 |         4 |   9.1 |   9.1 |   9.1
  - ABM 'Flower spread' .....................  |         7 |        21 |        11 |  10.0 |  32.8 |  19.5

... rest 0.0%
Can I call that for now lag mod ? What other idea to have when nothing to do causes 93.8% of CPU time, tsts


ok, finish after over 10 hours
still no any build rail or train ... : 93.8 % constant

Code: Select all

(T@__builtin)A total of F440457E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 advtrains:                                    |         5 |      1935 |        21 |   3.9 | 100.0 |  93.8
  - globalstep[1] ...........................  |         5 |      1935 |        21 |   2.9 | 100.0 |  93.8
  - on_leaveplayer[1] .......................  |         2 |         2 |         2 |   3.4 |   3.6 |   3.5
  - on_joinplayer[1] ........................  |         3 |         6 |         4 |   0.6 |   1.1 |   0.9

 player_api:                                   |         0 |        58 |         0 |   0.0 |  75.3 |   3.8
  - globalstep[1] ...........................  |         1 |        58 |         1 |   0.1 |  75.3 |   4.9
  - on_leaveplayer[1] .......................  |         1 |         1 |         1 |   1.7 |   1.8 |   1.8
  - on_joinplayer[2] ........................  |        19 |        26 |        21 |   3.6 |   5.1 |   4.3
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       151 |         0 |   0.0 |  84.9 |   2.4
  - globalstep[1] ...........................  |         1 |       151 |         1 |   0.1 |  84.9 |   4.7
  - on_leaveplayer[1] .......................  |         1 |         1 |         1 |   1.8 |   1.8 |   1.8

 butterflies:                                  |         0 |         5 |         0 |   0.0 |  10.2 |   0.1
  - on_generated[1] .........................  |         5 |         5 |         5 |  10.2 |  10.2 |  10.2

 env_sounds:                                   |         0 |       112 |         0 |   0.0 |  20.3 |   0.0
  - on_joinplayer[1] ........................  |        83 |       112 |        97 |  18.6 |  20.3 |  19.3

 flowers:                                                |         0 |        21 |         0 |   0.0 |  32.8 |   0.0
  - ABM 'Mushroom spread' .............................  |         4 |        21 |        12 |   9.1 |  32.3 |  20.7
  - ABM 'Flower spread' ...............................  |         7 |        21 |        11 |  10.0 |  32.8 |  19.5

 mtg_craftguide:                                         |         0 |         9 |         0 |   0.0 |   1.8 |   0.0
  - on_leaveplayer[1] .................................  |         1 |         1 |         1 |   1.7 |   1.8 |   1.8
  - on_joinplayer[1] ..................................  |         7 |         9 |         8 |   1.6 |   1.8 |   1.7

 default:                                                |         0 |       223 |         0 |   0.0 |  89.7 |   0.0
  - on_leaveplayer[1] .................................  |         1 |         1 |         1 |   1.7 |   1.8 |   1.8
  - ABM 'Grass spread' ................................  |         8 |       130 |        73 |  16.3 |  75.6 |  60.4
  - on_joinplayer[1] ..................................  |         8 |        13 |        10 |   1.4 |   2.5 |   2.1
  - ABM 'Grass covered' ...............................  |        84 |       223 |       145 |  58.7 |  89.7 |  75.3

 weather:                                                |         0 |        25 |         0 |   0.0 |   4.5 |   0.0
  - on_joinplayer[1] ..................................  |        20 |        25 |        21 |   3.9 |   4.5 |   4.3

 binoculars:                                             |         0 |        64 |         0 |   0.0 |  11.6 |   0.0
  - on_joinplayer[1] ..................................  |        47 |        64 |        54 |  10.1 |  11.6 |  10.7

 sfinv:                                                  |         0 |       186 |         0 |   0.0 |  33.6 |   0.0
  - on_leaveplayer[1] .................................  |         1 |         1 |         1 |   1.7 |   1.8 |   1.8
  - on_joinplayer[1] ..................................  |       138 |       186 |       160 |  30.6 |  33.6 |  31.7

 beds:                                                   |         0 |        11 |         0 |   0.0 |  19.0 |   0.0
  - on_leaveplayer[1] .................................  |         8 |        11 |         9 |  14.3 |  19.0 |  16.6

 dungeon_loot:                                           |         0 |         1 |         0 |   0.0 |   2.0 |   0.0
  - on_generated[1] ...................................  |         1 |         1 |         1 |   2.0 |   2.0 |   2.0

 fireflies:                                              |         0 |         1 |         0 |   0.0 |   2.0 |   0.0
  - on_generated[1] ...................................  |         1 |         1 |         1 |   2.0 |   2.0 |   2.0

 map:                                                    |         0 |        40 |         0 |   0.0 |   8.3 |   0.0
  - on_joinplayer[1] ..................................  |        37 |        40 |        38 |   7.2 |   8.3 |   7.6

 ??:                                                     |         0 |        78 |         0 |   0.0 |  15.2 |   0.0
  - on_joinplayer[1] ..................................  |        59 |        78 |        67 |  11.8 |  15.2 |  13.4
-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         5 |      1940 |        22 | 100.0 | 100.0 | 100.0
I will redo test, if programmer think to have improved.

Even after some other mods, maybe together with other (high cpu using) mods ... as Idea about which of this mods is more ... crazy thinking 'I am so important!'.
Last edited by Festus1965 on Wed Apr 06, 2022 12:36, edited 7 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod impact comparison : petz - 4688047 / 28 days ago (~10.03.2022)

by Festus1965 » Post

even I wanted to do a break today ... as we didn't know how long we need at Immigration for my next year ...
in 7:09 out 10:27 ready ... ad I got VIP speed there today. Even we had number 4 ... got first.

I need something to do now ... I explain under my Server Thread ...
but shortest Version: - I have to stay Isolation, as I had very closed contact to a person positive Covid-19

so, I open : https://github.com/runsy/petz
and download commit 4688047 / 28 days ago (~10.03.2022)

and will set up test rest of day ...

hmm, this is more difficult:
name = petz
description = Cute mobs for Minetest
depends = default, mobkit, mokapi, stairs, dye, farming, vessels, wool, tnt
optional_depends = bonemeal, 3d_armor, crops, playerphysics, player_monoids
version = 5.23
so I have to check first the needed decencies itself of there impact, and then ... tomorrow I guess

ok, first mod only real ask for : https://github.com/TheTermos/mobkit ...
restart for test :

Code: Select all

minetestserver --world .minetest/worlds/engine550 --config .minetest/engine550.conf --port 30005
2022-04-07 11:35:54: WARNING[Main]: Not registering alias, item with same name is already defined: petz:horseshoe -> mobs:horseshoe_steel
2022-04-07 11:35:54: WARNING[Main]: Not registering alias, item with same name is already defined: petz:cheese -> mobs:cheese
         __.               __.                 __.  
  _____ |__| ____   _____ /  |_  _____  _____ /  |_ 
 /     \|  |/    \ /  __ \    _\/  __ \/   __>    _\
|  Y Y  \  |   |  \   ___/|  | |   ___/\___  \|  |  
|__|_|  /  |___|  /\______>  |  \______>_____/|  |  
      \/ \/     \/         \/                  \/   
2022-04-07 11:35:54: ACTION[Main]: World at [.minetest/worlds/engine550]
2022-04-07 11:35:54: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30005.
^C2022-04-07 11:36:04: [Main]: INFO: signal_handler(): Ctrl-C pressed, shutting down.
but running ... so I false mod petz, mokapi (even bale is false) and test server impact mobkit today only ...

yes, run 11:40 local ICT ... until 19:30 about 8 hours ...

will see
/status show 0.09 max_lag so far

/profiler save after

Code: Select all

(T@__builtin)A total of F308341E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 player_api:                                   |         0 |       135 |         2 |   0.0 | 100.0 |  77.1
  - globalstep[1] ...........................  |         1 |       135 |         2 |   0.4 | 100.0 |  77.2
  - on_joinplayer[2] ........................  |        26 |        26 |        26 |   5.5 |   5.5 |   5.5
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       116 |         0 |   0.0 | 100.0 |  22.9
  - globalstep[1] ...........................  |         1 |       116 |         1 |   0.2 | 100.0 |  32.5

 default:                                      |         0 |       192 |         2 |   0.0 |  94.6 |   1.6
  - ABM 'Grass spread' ......................  |       138 |       138 |       138 |  90.2 |  90.2 |  90.2
  - on_joinplayer[1] ........................  |        22 |        22 |        22 |   4.6 |   4.6 |   4.6
  - ABM 'Grass covered' .....................  |       192 |       192 |       192 |  94.6 |  94.6 |  94.6

 dungeon_loot:                                           |         0 |       412 |         4 |   0.0 |  91.2 |   1.0
  - on_generated[1] ...................................  |         2 |       412 |       207 |   8.7 |  91.2 |  49.9

 sfinv:                                                  |         0 |       142 |         1 |   0.0 |  29.9 |   0.3
  - on_joinplayer[1] ..................................  |       142 |       142 |       142 |  29.9 |  29.9 |  29.9

 butterflies:                                            |         0 |        18 |         0 |   0.0 |  26.1 |   0.3
  - on_generated[1] ...................................  |         6 |        18 |        12 |   4.0 |  26.1 |  15.0

 env_sounds:                                             |         0 |       100 |         0 |   0.0 |  21.1 |   0.2
  - on_joinplayer[1] ..................................  |       100 |       100 |       100 |  21.1 |  21.1 |  21.1

 binoculars:                                             |         0 |        49 |         0 |   0.0 |  10.3 |   0.1
  - on_joinplayer[1] ..................................  |        49 |        49 |        49 |  10.3 |  10.3 |  10.3

 fireflies:                                              |         0 |         9 |         0 |   0.0 |   8.7 |   0.1
  - on_generated[1] ...................................  |         2 |         9 |         5 |   2.0 |   8.7 |   5.3

 ??:                                                     |         0 |        66 |         0 |   0.0 |  13.9 |   0.1
  - on_joinplayer[1] ..................................  |        66 |        66 |        66 |  13.9 |  13.9 |  13.9

 map:                                                    |         0 |        34 |         0 |   0.0 |   7.2 |   0.1
  - on_joinplayer[1] ..................................  |        34 |        34 |        34 |   7.2 |   7.2 |   7.2

 flowers:                                                |         0 |         4 |         0 |   0.0 |   2.0 |   0.0
  - ABM 'Flower spread' ...............................  |         4 |         4 |         4 |   2.0 |   2.0 |   2.0

 mtg_craftguide:                                         |         0 |        10 |         0 |   0.0 |   2.1 |   0.0
  - on_joinplayer[1] ..................................  |        10 |        10 |        10 |   2.1 |   2.1 |   2.1

 weather:                                                |         0 |        22 |         0 |   0.0 |   4.6 |   0.0
  - on_joinplayer[1] ..................................  |        22 |        22 |        22 |   4.6 |   4.6 |   4.6

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |       475 |         2 | 100.0 | 100.0 | 100.0
so no any impact from needed dependency ... then tomorrow I can test petz.


08.04.2022 - 6:25 - test server petz impact has started - finished 19:15 = near 11 hours
/status don't show any max_lag 0.09
/profiler save:
* petz : 69.1 %
* player_api: : 22.6 %
* fire : 8.3 %
interesting, even also here 11 hours no player logged in near 70% petz even no mapblock activated as just 5 min before test finished. That does also make no sense.

Code: Select all

(T@__builtin)A total of F513791E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 petz:                                         |         1 |       499 |         6 |   1.8 | 100.0 |  69.1
  - globalstep[1] ...........................  |         1 |       405 |         5 |   0.9 | 100.0 |  61.7
  - on_activate[47] .........................  |        36 |        36 |        36 |   7.0 |   7.0 |   7.0
  - on_step[45] .............................  |        40 |       256 |        86 |   8.3 |  91.1 |  73.8
  - on_joinplayer[1] ........................  |        14 |        14 |        14 |   1.7 |   1.7 |   1.7
  - get_staticdata[42] ......................  |        14 |        14 |        14 |   2.7 |   2.7 |   2.7
  - globalstep[2] ...........................  |         1 |       125 |         1 |   0.1 |  92.6 |  10.9

 player_api:                                   |         0 |       115 |         2 |   0.0 |  94.7 |  22.6
  - globalstep[1] ...........................  |         1 |       115 |         2 |   0.2 |  94.7 |  23.4
  - on_joinplayer[2] ........................  |        24 |        24 |        24 |   2.9 |   2.9 |   2.9
  - on_joinplayer[1] ........................  |         2 |         2 |         2 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       162 |         0 |   0.0 |  92.5 |   8.3
  - globalstep[1] ...........................  |         1 |       162 |         1 |   0.1 |  92.5 |  11.2

 default:                                      |         0 |       311 |         3 |   0.0 |  93.1 |   1.5
  - ABM 'Grass spread'.......................  |        11 |       141 |        81 |  19.6 |  86.0 |  45.7
  - ABM 'Grass covered' .....................  |       185 |       241 |       216 |  56.4 |  88.9 |  70.6
  - on_joinplayer[1] ........................  |        21 |        21 |        21 |   2.6 |   2.6 |   2.6

 flowers:                                                |         0 |       133 |         0 |   0.0 |  85.8 |   0.6
  - ABM 'Mushroom spread' .............................  |         4 |         6 |         5 |   4.7 |  19.4 |  12.0
  - ABM 'Flower spread' ...............................  |        44 |       133 |        88 |  24.4 |  85.8 |  55.1

 sfinv:                                                  |         0 |       245 |         0 |   0.0 |  30.1 |   0.1
  - on_joinplayer[1] ..................................  |       245 |       245 |       245 |  30.1 |  30.1 |  30.1

 env_sounds:                                             |         0 |       120 |         0 |   0.0 |  14.7 |   0.1
  - on_joinplayer[1] ..................................  |       120 |       120 |       120 |  14.7 |  14.7 |  14.7

 ??:                                                     |         0 |       207 |         0 |   0.0 |  25.4 |   0.1
  - on_joinplayer[1] ..................................  |       207 |       207 |       207 |  25.4 |  25.4 |  25.4

 mtg_craftguide:                                         |         0 |        10 |         0 |   0.0 |   1.2 |   0.0
  - on_joinplayer[1] ..................................  |        10 |        10 |        10 |   1.2 |   1.2 |   1.2

 weather:                                                |         0 |        35 |         0 |   0.0 |   4.3 |   0.0
  - on_joinplayer[1] ..................................  |        35 |        35 |        35 |   4.3 |   4.3 |   4.3

 binoculars:                                             |         0 |        76 |         0 |   0.0 |   9.3 |   0.0
  - on_joinplayer[1] ..................................  |        76 |        76 |        76 |   9.3 |   9.3 |   9.3

 map:                                                    |         0 |        50 |         0 |   0.0 |   6.1 |   0.0
  - on_joinplayer[1] ..................................  |        50 |        50 |        50 |   6.1 |   6.1 |   6.1

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |       815 |         9 | 100.0 | 100.0 | 100.0
found next day during pipeworks test:

Code: Select all

2022-04-09 19:32:59: ACTION[Server]: Thomas [192.168.65.203] joins game. List of players: Thomas
2022-04-09 19:33:02: ERROR[Server]: LuaEntity name "petz:rat" not defined
2022-04-09 19:33:15: ACTION[Server]: Profile saved to .minetest/worlds/engine550/profile-20220409T193315.txt
2022-04-09 19:33:18: ACTION[Server]: Thomas leaves game. List of players: 
sure one rat was set out ... 69.1 % work in hours for one rat ... wow, important !!!
Last edited by Festus1965 on Sat Apr 09, 2022 12:44, edited 13 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod impact comparison : pipeworks

by Festus1965 » Post

taken from : github.com/mt-mods/pipeworks
3092ce7 / 02.06.2022

depends = basic_materials
taken from : github.com/mt-mods/basic_materials
9d55f99 / 27.03.2022
do not forget : /home/thomas/.minetest/mods/basic_materials/sound_api_core/* - that is extra

test with only basic_materials true started short ... run near one hour
/profiler show no any sign of activity ... player_api: 85 %, fire : 14.5 % = no impact by dependency itself

test started 09.04.2022 6:30 ... finished after /profiler 19:35
but login surprising: 13 hours just empty only login to get profiler and get this:

/status showed 0.09 max_lag - but that is not new.
/profiler ...
* pipeworks : 67.7 % with even also here no any !!! item build out of the mod pipeworks !
* player_api : 26.0 %
* fire : 6.3 %

Code: Select all

(T@__builtin)A total of F535633E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 pipeworks:                                    |         1 |      1794 |         6 |   1.7 | 100.0 |  67.7
  - globalstep[1] ...........................  |         1 |      1794 |         5 |   1.5 | 100.0 |  61.0
  - globalstep[2] ...........................  |         1 |       100 |         1 |   0.1 |  91.2 |  11.7

 player_api:                                   |         0 |       160 |         2 |   0.0 |  94.6 |  26.0
  - globalstep[1] ...........................  |         1 |       160 |         2 |   0.3 |  94.6 |  26.1
  - on_joinplayer[2] ........................  |        19 |        19 |        19 |   4.6 |   4.6 |   4.6
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       181 |         0 |   0.0 |  93.6 |   6.3
  - globalstep[1] ...........................  |         1 |       181 |         1 |   0.1 |  93.6 |  10.8

 default:                                      |         0 |       280 |         3 |   0.0 |  65.6 |   1.1
  - ABM 'Grass spread' ......................  |        84 |       102 |        93 |  27.9 |  43.1 |  35.5
  - ABM 'Grass covered' .....................  |       210 |       280 |       245 |  64.1 |  65.6 |  64.8
  - on_joinplayer[1] ........................  |         9 |         9 |         9 |   2.2 |   2.2 |   2.2

 dungeon_loot:                                 |         0 |       379 |         2 |   0.0 |  74.8 |   0.5
  - on_generated[1] .........................  |         1 |       379 |       190 |   0.9 |  74.8 |  37.8

 flowers:                                      |         0 |       107 |         1 |   0.0 |  29.3 |   0.4
  - ABM 'Flower spread' .....................  |       107 |       107 |       107 |  29.3 |  29.3 |  29.3
  - ABM 'Mushroom spread' ...................  |        19 |        29 |        24 |   7.8 |  15.8 |  11.8

 sfinv:                                                  |         0 |       128 |         0 |   0.0 |  31.0 |   0.2
  - on_joinplayer[1] ..................................  |       128 |       128 |       128 |  31.0 |  31.0 |  31.0

 env_sounds:                                             |         0 |        84 |         0 |   0.0 |  20.3 |   0.1
  - on_joinplayer[1] ..................................  |        84 |        84 |        84 |  20.3 |  20.3 |  20.3

 binoculars:                                             |         0 |        44 |         0 |   0.0 |  10.7 |   0.1
  - on_joinplayer[1] ..................................  |        44 |        44 |        44 |  10.7 |  10.7 |  10.7

 ??:                                                     |         0 |        58 |         0 |   0.0 |  14.0 |   0.1
  - on_joinplayer[1] ..................................  |        58 |        58 |        58 |  14.0 |  14.0 |  14.0


 mtg_craftguide:                                         |         0 |         7 |         0 |   0.0 |   1.7 |   0.0
  - on_joinplayer[1] ..................................  |         7 |         7 |         7 |   1.7 |   1.7 |   1.7

 butterflies:                                            |         0 |        11 |         0 |   0.0 |   5.3 |   0.0
  - on_generated[1] ...................................  |         6 |        11 |         8 |   2.2 |   5.3 |   3.7

 weather:                                                |         0 |        21 |         0 |   0.0 |   5.1 |   0.0
  - on_joinplayer[1] ..................................  |        21 |        21 |        21 |   5.1 |   5.1 |   5.1

 fireflies:                                              |         0 |         5 |         0 |   0.0 |   1.8 |   0.0
  - on_generated[1] ...................................  |         2 |         5 |         3 |   1.0 |   1.8 |   1.4

 map:                                                    |         0 |        32 |         0 |   0.0 |   7.7 |   0.0
  - on_joinplayer[1] ..................................  |        32 |        32 |        32 |   7.7 |   7.7 |   7.7

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |      1811 |         9 | 100.0 | 100.0 | 100.0
Last edited by Festus1965 on Sun Apr 10, 2022 01:58, edited 10 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod impact comparison : technic

by Festus1965 » Post

today ... still running

Code: Select all

load_mod_concrete = true
load_mod_extranodes = true
load_mod_technic = true
load_mod_technic_chests = true
load_mod_technic_cnc = true
load_mod_technic_worldgen = true
load_mod_wrench = true
using the one I have running :
from https://github.com/mt-mods/technic
technic / technic (ec3a52c/06.02.2022) - that is actual enough, I see show sill : ec3a52c on Feb 6

hmpf:

Code: Select all

2022-04-10 09:00:54: ERROR[Main]: mod "concrete" has unsatisfied dependencies:  "technic" "basic_materials"
2022-04-10 09:00:54: ERROR[Main]: mod "technic" has unsatisfied dependencies:  "moreores" "basic_materials" "pipeworks"

ok, activate again basic_materials = true - and from that mod we have a single result already.
but moreores sure no single impact, and pipeworks we also have single result

Code: Select all

2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
2022-04-10 09:05:38: WARNING[Main]: No craft recipe matches input
ok, same world, with the one rat ...
started 10.04.2022 09:05 ... extract and finish 19:50 ... results:

logged in /status also max_lag 0.09
/profiler :

* pipeworks: 57.2%
* player_api: 20.7 %
* technic: 18.4 %
* fire: 3.7 %

important here again to repeat :
There no ANY node build out of technic or pipeworks ... al this CPU usage is done for NOTHING !

So technic is 18.4 %, that is much less useless impact then pipeworks, but still is.
And so 81.6 % of this not technic usage is the 100% of usage with only pipeworks, as technic added some more cpu (useless, lag) usage. Or the new usage with technic onto pipeworks is 22.5 %points higher, or 122.5 % to the pipeworks base.

But as technic still depends on pipeworks the real rise from base mtg is much higher, as both rise add together.

Or, if you choose technic and need pipeworks as depend on it: your load goes 310 % up, or you have 4 times higher cpu usage, or lag

Code: Select all

(T@__builtin)A total of F429514E sample(s) were taken.E

 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 pipeworks:                                    |         1 |      1705 |         6 |   0.4 | 100.0 |  57.2
  - globalstep[1] ...........................  |         1 |      1705 |         6 |   0.4 | 100.0 |  52.5
  - globalstep[2] ...........................  |         1 |       155 |         1 |   0.1 |  92.8 |   9.8

 player_api:                                   |         0 |       228 |         2 |   0.0 |  96.2 |  20.7
  - globalstep[1] ...........................  |         1 |       228 |         2 |   0.2 |  96.2 |  20.7
  - on_joinplayer[2] ........................  |        30 |        30 |        30 |   2.6 |   2.6 |   2.6
  - on_joinplayer[1] ........................  |         8 |         8 |         8 |   0.7 |   0.7 |   0.7

 technic:                                      |         0 |       188 |         2 |   0.0 |  93.2 |  18.4
  - globalstep[1] ...........................  |         1 |       109 |         1 |   0.1 |  92.4 |   8.7
  - globalstep[3] ...........................  |         1 |       186 |         1 |   0.0 |  92.5 |   9.8
  - globalstep[2] ...........................  |         1 |       106 |         1 |   0.0 |  92.2 |   9.3

 fire:                                         |         0 |       150 |         0 |   0.0 |  90.7 |   3.7
  - globalstep[1] ...........................  |         1 |       150 |         1 |   0.1 |  90.7 |   8.7

 default:                                      |         0 |      1360 |        16 |   0.0 |  62.5 |   1.2
  - ABM 'Grass spread' ......................  |         7 |        96 |        62 |   7.1 |  38.2 |  23.3
  - ABM 'Grass covered' .....................  |      1167 |      1360 |      1263 |  61.3 |  62.5 |  61.9
  - on_joinplayer[1] ........................  |        25 |        25 |        25 |   2.1 |   2.1 |   2.1

 flowers:                                                |         0 |       165 |         6 |   0.0 |  28.4 |   1.1
  - ABM 'Flower spread' ...............................  |       165 |       165 |       165 |  28.4 |  28.4 |  28.4

 sfinv:                                                  |         0 |       358 |         2 |   0.0 |  30.8 |   0.2
  - on_joinplayer[1] ..................................  |       358 |       358 |       358 |  30.8 |  30.8 |  30.8

 binoculars:                                             |         0 |       118 |         0 |   0.0 |  10.1 |   0.1
  - on_joinplayer[1] ..................................  |       118 |       118 |       118 |  10.1 |  10.1 |  10.1

 env_sounds:                                             |         0 |       176 |         1 |   0.0 |  15.1 |   0.1
  - on_joinplayer[1] ..................................  |       176 |       176 |       176 |  15.1 |  15.1 |  15.1

 ??:                                                     |         0 |       264 |         1 |   0.0 |  22.7 |   0.1
  - on_joinplayer[1] ..................................  |       264 |       264 |       264 |  22.7 |  22.7 |  22.7

 mtg_craftguide:                                         |         0 |        12 |         0 |   0.0 |   1.0 |   0.0
  - on_joinplayer[1] ..................................  |        12 |        12 |        12 |   1.0 |   1.0 |   1.0

 weather:                                                |         0 |        78 |         0 |   0.0 |   6.7 |   0.0
  - on_joinplayer[1] ..................................  |        78 |        78 |        78 |   6.7 |   6.7 |   6.7

 map:                                                    |         0 |        86 |         0 |   0.0 |   7.4 |   0.0
  - on_joinplayer[1] ..................................  |        86 |        86 |        86 |   7.4 |   7.4 |   7.4

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |      2175 |        11 | 100.0 | 100.0 | 100.0
at the end the example from myserver, after a time of massive using uran in centrifuges:
* technic: 37.6 %
* pipeworks: 36.0 %
* default: 4.7 %
* player_api: 3.5%
anyway both is together 73.6 % - mean also 73.6 % of all works at my server is this combination.
And then to know that special pipeworks proofed to do useless CPU for not even build nodes ... how much could the lag been reduced if pipeworks would work more effective !!!
Last edited by Festus1965 on Sun Apr 10, 2022 13:37, edited 7 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison : petz - 4688047 / 28 days ago (~10.03.2022)

by runs » Post

Festus1965 wrote:
Wed Apr 06, 2022 02:05
even I wanted to do a break today ... as we didn't know how long we need at Immigration for my next year ...
in 7:09 out 10:27 ready ... ad I got VIP speed there today. Even we had number 4 ... got first.

I need something to do now ... I explain under my Server Thread ...
but shortest Version: - I have to stay Isolation, as I had very closed contact to a person positive Covid-19

so, I open : https://github.com/runsy/petz
and download commit 4688047 / 28 days ago (~10.03.2022)

and will set up test rest of day ...

hmm, this is more difficult:
name = petz
description = Cute mobs for Minetest
depends = default, mobkit, mokapi, stairs, dye, farming, vessels, wool, tnt
optional_depends = bonemeal, 3d_armor, crops, playerphysics, player_monoids
version = 5.23
so I have to check first the needed decencies itself of there impact, and then ... tomorrow I guess

ok, first mod only real ask for : https://github.com/TheTermos/mobkit ...
restart for test :

Code: Select all

minetestserver --world .minetest/worlds/engine550 --config .minetest/engine550.conf --port 30005
2022-04-07 11:35:54: WARNING[Main]: Not registering alias, item with same name is already defined: petz:horseshoe -> mobs:horseshoe_steel
2022-04-07 11:35:54: WARNING[Main]: Not registering alias, item with same name is already defined: petz:cheese -> mobs:cheese
         __.               __.                 __.  
  _____ |__| ____   _____ /  |_  _____  _____ /  |_ 
 /     \|  |/    \ /  __ \    _\/  __ \/   __>    _\
|  Y Y  \  |   |  \   ___/|  | |   ___/\___  \|  |  
|__|_|  /  |___|  /\______>  |  \______>_____/|  |  
      \/ \/     \/         \/                  \/   
2022-04-07 11:35:54: ACTION[Main]: World at [.minetest/worlds/engine550]
2022-04-07 11:35:54: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:30005.
^C2022-04-07 11:36:04: [Main]: INFO: signal_handler(): Ctrl-C pressed, shutting down.
but running ... so I false mod petz, mokapi (even bale is false) and test server impact mobkit today only ...

yes, run 11:40 local ICT ... until 19:30 about 8 hours ...

will see
/status show 0.09 max_lag so far

/profiler save after

Code: Select all

(T@__builtin)A total of F308341E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 player_api:                                   |         0 |       135 |         2 |   0.0 | 100.0 |  77.1
  - globalstep[1] ...........................  |         1 |       135 |         2 |   0.4 | 100.0 |  77.2
  - on_joinplayer[2] ........................  |        26 |        26 |        26 |   5.5 |   5.5 |   5.5
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       116 |         0 |   0.0 | 100.0 |  22.9
  - globalstep[1] ...........................  |         1 |       116 |         1 |   0.2 | 100.0 |  32.5

 default:                                      |         0 |       192 |         2 |   0.0 |  94.6 |   1.6
  - ABM 'Grass spread' ......................  |       138 |       138 |       138 |  90.2 |  90.2 |  90.2
  - on_joinplayer[1] ........................  |        22 |        22 |        22 |   4.6 |   4.6 |   4.6
  - ABM 'Grass covered' .....................  |       192 |       192 |       192 |  94.6 |  94.6 |  94.6

 dungeon_loot:                                           |         0 |       412 |         4 |   0.0 |  91.2 |   1.0
  - on_generated[1] ...................................  |         2 |       412 |       207 |   8.7 |  91.2 |  49.9

 sfinv:                                                  |         0 |       142 |         1 |   0.0 |  29.9 |   0.3
  - on_joinplayer[1] ..................................  |       142 |       142 |       142 |  29.9 |  29.9 |  29.9

 butterflies:                                            |         0 |        18 |         0 |   0.0 |  26.1 |   0.3
  - on_generated[1] ...................................  |         6 |        18 |        12 |   4.0 |  26.1 |  15.0

 env_sounds:                                             |         0 |       100 |         0 |   0.0 |  21.1 |   0.2
  - on_joinplayer[1] ..................................  |       100 |       100 |       100 |  21.1 |  21.1 |  21.1

 binoculars:                                             |         0 |        49 |         0 |   0.0 |  10.3 |   0.1
  - on_joinplayer[1] ..................................  |        49 |        49 |        49 |  10.3 |  10.3 |  10.3

 fireflies:                                              |         0 |         9 |         0 |   0.0 |   8.7 |   0.1
  - on_generated[1] ...................................  |         2 |         9 |         5 |   2.0 |   8.7 |   5.3

 ??:                                                     |         0 |        66 |         0 |   0.0 |  13.9 |   0.1
  - on_joinplayer[1] ..................................  |        66 |        66 |        66 |  13.9 |  13.9 |  13.9

 map:                                                    |         0 |        34 |         0 |   0.0 |   7.2 |   0.1
  - on_joinplayer[1] ..................................  |        34 |        34 |        34 |   7.2 |   7.2 |   7.2

 flowers:                                                |         0 |         4 |         0 |   0.0 |   2.0 |   0.0
  - ABM 'Flower spread' ...............................  |         4 |         4 |         4 |   2.0 |   2.0 |   2.0

 mtg_craftguide:                                         |         0 |        10 |         0 |   0.0 |   2.1 |   0.0
  - on_joinplayer[1] ..................................  |        10 |        10 |        10 |   2.1 |   2.1 |   2.1

 weather:                                                |         0 |        22 |         0 |   0.0 |   4.6 |   0.0
  - on_joinplayer[1] ..................................  |        22 |        22 |        22 |   4.6 |   4.6 |   4.6

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |       475 |         2 | 100.0 | 100.0 | 100.0
so no any impact from needed dependency ... then tomorrow I can test petz.


08.04.2022 - 6:25 - test server petz impact has started - finished 19:15 = near 11 hours
/status don't show any max_lag 0.09
/profiler save:
* petz : 69.1 %
* player_api: : 22.6 %
* fire : 8.3 %
interesting, even also here 11 hours no player logged in near 70% petz even no mapblock activated as just 5 min before test finished. That does also make no sense.

Code: Select all

(T@__builtin)A total of F513791E sample(s) were taken.E


 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 petz:                                         |         1 |       499 |         6 |   1.8 | 100.0 |  69.1
  - globalstep[1] ...........................  |         1 |       405 |         5 |   0.9 | 100.0 |  61.7
  - on_activate[47] .........................  |        36 |        36 |        36 |   7.0 |   7.0 |   7.0
  - on_step[45] .............................  |        40 |       256 |        86 |   8.3 |  91.1 |  73.8
  - on_joinplayer[1] ........................  |        14 |        14 |        14 |   1.7 |   1.7 |   1.7
  - get_staticdata[42] ......................  |        14 |        14 |        14 |   2.7 |   2.7 |   2.7
  - globalstep[2] ...........................  |         1 |       125 |         1 |   0.1 |  92.6 |  10.9

 player_api:                                   |         0 |       115 |         2 |   0.0 |  94.7 |  22.6
  - globalstep[1] ...........................  |         1 |       115 |         2 |   0.2 |  94.7 |  23.4
  - on_joinplayer[2] ........................  |        24 |        24 |        24 |   2.9 |   2.9 |   2.9
  - on_joinplayer[1] ........................  |         2 |         2 |         2 |   0.2 |   0.2 |   0.2

 fire:                                         |         0 |       162 |         0 |   0.0 |  92.5 |   8.3
  - globalstep[1] ...........................  |         1 |       162 |         1 |   0.1 |  92.5 |  11.2

 default:                                      |         0 |       311 |         3 |   0.0 |  93.1 |   1.5
  - ABM 'Grass spread'.......................  |        11 |       141 |        81 |  19.6 |  86.0 |  45.7
  - ABM 'Grass covered' .....................  |       185 |       241 |       216 |  56.4 |  88.9 |  70.6
  - on_joinplayer[1] ........................  |        21 |        21 |        21 |   2.6 |   2.6 |   2.6

 flowers:                                                |         0 |       133 |         0 |   0.0 |  85.8 |   0.6
  - ABM 'Mushroom spread' .............................  |         4 |         6 |         5 |   4.7 |  19.4 |  12.0
  - ABM 'Flower spread' ...............................  |        44 |       133 |        88 |  24.4 |  85.8 |  55.1

 sfinv:                                                  |         0 |       245 |         0 |   0.0 |  30.1 |   0.1
  - on_joinplayer[1] ..................................  |       245 |       245 |       245 |  30.1 |  30.1 |  30.1

 env_sounds:                                             |         0 |       120 |         0 |   0.0 |  14.7 |   0.1
  - on_joinplayer[1] ..................................  |       120 |       120 |       120 |  14.7 |  14.7 |  14.7

 ??:                                                     |         0 |       207 |         0 |   0.0 |  25.4 |   0.1
  - on_joinplayer[1] ..................................  |       207 |       207 |       207 |  25.4 |  25.4 |  25.4

 mtg_craftguide:                                         |         0 |        10 |         0 |   0.0 |   1.2 |   0.0
  - on_joinplayer[1] ..................................  |        10 |        10 |        10 |   1.2 |   1.2 |   1.2

 weather:                                                |         0 |        35 |         0 |   0.0 |   4.3 |   0.0
  - on_joinplayer[1] ..................................  |        35 |        35 |        35 |   4.3 |   4.3 |   4.3

 binoculars:                                             |         0 |        76 |         0 |   0.0 |   9.3 |   0.0
  - on_joinplayer[1] ..................................  |        76 |        76 |        76 |   9.3 |   9.3 |   9.3

 map:                                                    |         0 |        50 |         0 |   0.0 |   6.1 |   0.0
  - on_joinplayer[1] ..................................  |        50 |        50 |        50 |   6.1 |   6.1 |   6.1

-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |       815 |         9 | 100.0 | 100.0 | 100.0
I´m obviously interested in this.

What do you think of Petz's performance sincerely?

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison : petz - 4688047 / 28 days ago (~10.03.2022)

by Festus1965 » Post

runs wrote:
Sat Apr 09, 2022 11:55
I´m obviously interested in this.

What do you think of Petz's performance sincerely?
Look two things:
* compare several mods
* the petz Post

What I think, still a bit too early, but a world-map with just standard generated small area, no gamer in as just last 5 min to get /profiler data, and today I saw there was then ONE rat spawned and missed mod today uses near 70% of all CPU time ? for, I say it clear near NOTHING !

Ok, advtrains was more bad, as more CPU time, and no item,
petz even had one rat ... ohm ...
and also pipeworks yet, nothing build from this mod ... but so much CPU % for nothing ?
When testing collected near 20 main used mods - we will see some more clear about impact.

there is a basic problem as some mods, and I know this from several years own server - and some profiler from other server using this mods. Even with more other mods, they still peak out in top cpu usage.
No I go offensive ... after my 'silent; hints in mods or server admins was refused.
We need better low lag server, that more people can play together = that I see what many want.
Just look : 10-15 server with bit a lot, some a bit ... and rest is empty.

Without minetest engine and servers ... also your mods are not needed anymore.
We destroy our own base ... server with gamer.
If they are gone ... finish.

People, ADMINS ... send me /profiler save files from your server, when you see/realize 1 or 2 mods show up in your profiler far in front of the others ... mean about 30+ % more then 2nd or 3rd mod shown.
I check out, and test the most big impact on my empty server as you see above.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison : petz - 4688047 / 28 days ago (~10.03.2022)

by runs » Post

Festus1965 wrote:
Sat Apr 09, 2022 12:51
runs wrote:
Sat Apr 09, 2022 11:55
I´m obviously interested in this.

What do you think of Petz's performance sincerely?
Look two things:
* compare several mods
* the petz Post

What I think, still a bit too early, but a world-map with just standard generated small area, no gamer in as just last 5 min to get /profiler data, and today I saw there was then ONE rat spawned and missed mod today uses near 70% of all CPU time ? for, I say it clear near NOTHING !

Ok, advtrains was more bad, as more CPU time, and no item,
petz even had one rat ... ohm ...
and also pipeworks yet, nothing build from this mod ... but so much CPU % for nothing ?
When testing collected near 20 main used mods - we will see some more clear about impact.

there is a basic problem as some mods, and I know this from several years own server - and some profiler from other server using this mods. Even with more other mods, they still peak out in top cpu usage.
No I go offensive ... after my 'silent; hints in mods or server admins was refused.
We need better low lag server, that more people can play together = that I see what many want.
Just look : 10-15 server with bit a lot, some a bit ... and rest is empty.

Without minetest engine and servers ... also your mods are not needed anymore.
We destroy our own base ... server with gamer.
If they are gone ... finish.

People, ADMINS ... send me /profiler save files from your server, when you see/realize 1 or 2 mods show up in your profiler far in front of the others ... mean about 30+ % more then 2nd or 3rd mod shown.
I check out, and test the most big impact on my empty server as you see above.
I think you are getting your measurements totally wrong. 70% means nothing because:

If the server is with only one mod and it is a demanding mod of course that mod will use a percentage of CPU. BUT relative to the TOTAL of the game. It means nothing, a mod can consume 99% of the CPU (game CPU) and be light.

2) What matters is how much is that % relative to a given CPU (system CPU). Probably much lower. In Linux crtl+alt+supr.

3) You should use better math and statistics. There are theories about it.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

On the other hand Petz and entity mods are highly demanding.

If Minetest can barely handle 20 players on servers, add to that even 20 mob entities. Keep in mind that you have to scan your environment almost in real time, if you want intelligent mobs.

You have to be realistic.

Minetest is heavy with servers. This is its big handicap. Minecraft can handle in the order of x10 more players with ease.

90% of the servers are home servers. I have entered in your asian server and it goes super smooth, but I think it is the only smooth one.

Cheap servers NO, just home servers. People should put money in their Minetest servers, period.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

To make it clearer, a game without the mod can consume 5% of the CPU.
The game with the mod consumes 7% of the CPU, that is, 2% more, but the profile can give 90% with respect to the other processes of the game.

It is not a matter of analyzing absolute results, but relative ones.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison

by Festus1965 » Post

runs wrote:
Sat Apr 09, 2022 21:22
You have to be realistic.

Minetest is heavy with servers. This is its big handicap. Minecraft can handle in the order of x10 more players with ease.

90% of the servers are home servers. I have entered in your asian server and it goes super smooth, but I think it is the only smooth one.

Cheap servers NO, just home servers. People should put money in their Minetest servers, period.
Here you are wrong, and that is proofed in the empty profiler results compare to the difference load to mods.
but that another Post ...

You are a bit right on servers, homeserver ... but for that follow this Thread and just learn there !
The problem seam to be VPS and/or no control over Cache ... what is the clearest difference measure between my servers and others.

The impact on mods is a plus both kind HAVE, but easier to handle with cache using OS, database and mt engine as at me.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison

by Festus1965 » Post

runs wrote:
Sat Apr 09, 2022 21:36
To make it clearer, a game without the mod can consume 5% of the CPU.
The game with the mod consumes 7% of the CPU, that is, 2% more, but the profile can give 90% with respect to the other processes of the game.

It is not a matter of analyzing absolute results, but relative ones.
Your example is misleading, as even I gave you the numbers.

As shown, server without petz, but even with mobkit had:
* player_api: 77.1 %
* fire: 22.9 %
* default: 1.6%

This is the basic 100% (or your 5%), but depending on that and the numbers with petz can calculate:

* petz: 69.1 %
* player_api: 22.6 %
* fire: 8.3 %
* default: 1.5 %

The base calculating is that SURE player, fire and default had the same summary impact, and the measured mod is a plus in more CPU time, not reducing the used time of other mods as measured before. They used the same amount of time, maybe 2%+/-.
So if now 22.6 % as before 77.1 % it is just relative as of petz impact.

Mean if petz ADDED another x % more, have to find as yue mentioned old 5% plus +2% to new 7% (= plus 40%) but it is much more.

As all other mods before was 100% they same now also = 100% of there summary usage.
So 100% - 69.1 % petz = the left 30.9 % petz has NOT taken is the old 100% of the other mods measured before.

To get the real rising in CPU usage the new 100% was about ~314 % new CPU usage, or petz added another 2 times more CPU usage then the other mods alone used before.

AS 69.1 % petz part from (100 / 30.9) 323.6% fast calculate new full CPU usage (real time compare) = 223.6%, so I hit exact enough as left 323.6 - 223.6 = old 100%.

But clear is, that petz, compare to your example made the CPU usage from 5% to 15 % !

petz alone is adding another 2 times more CPU load then before, or tripled the cpu impact.


And that just because of one detected rat ?
You must kidding me to try to tell me that this is fair adding CPU time ?
Festus1965 wrote:
Sat Apr 02, 2022 05:08
** 93.7 - 93.8 % : advtrains ... advtrains via github.com (3cb21a8/10.02.2022) tested ...
** 69.1 % : petz via github.com/runsy/petz 4688047 / 10.03.2022 - tested
** 67.1 % : pipeworks via ...
your mod is lucky, you can prof at least to have taken care one rat, BUT
there as no gamer logged in at most time, just at 0.7% of all time I was logged in to get the result.
The bit open question is now, did petz do all this usage in this 1 minute I was in to create and take care this ONE rat, or did petz useless work in the other time even no mapblock was activated ?

You see near clear BOTH possible solutions are bad recommendation for mod petz. It works much too hard for nothing. OR say other way = making lag for near nothing.

I remember Your-Land.de /profiler save show 33%, mean 1/3 of all CPU time on this server is just petz.
The 33% looks low, but on this server is also pipeworks active and technic ... so far I remember.
Yes those gamer have petz even farms ... but with the above result of now, petz is working even no or just 1 pet was created, I am sure this 33% is most wasted useless CPU time.

Sorry, but that is what I see.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

Festus1965 wrote:
Sat Apr 09, 2022 23:59
runs wrote:
Sat Apr 09, 2022 21:36
To make it clearer, a game without the mod can consume 5% of the CPU.
The game with the mod consumes 7% of the CPU, that is, 2% more, but the profile can give 90% with respect to the other processes of the game.

It is not a matter of analyzing absolute results, but relative ones.
Your example is misleading, as even I gave you the numbers.

As shown, server without petz, but even with mobkit had:
* player_api: 77.1 %
* fire: 22.9 %
* default: 1.6%

This is the basic 100% (or your 5%), but depending on that and the numbers with petz can calculate:

* petz: 69.1 %
* player_api: 22.6 %
* fire: 8.3 %
* default: 1.5 %

The base calculating is that SURE player, fire and default had the same summary impact, and the measured mod is a plus in more CPU time, not reducing the used time of other mods as measured before. They used the same amount of time, maybe 2%+/-.
So if now 22.6 % as before 77.1 % it is just relative as of petz impact.

Mean if petz ADDED another x % more, have to find as yue mentioned old 5% plus +2% to new 7% (= plus 40%) but it is much more.

As all other mods before was 100% they same now also = 100% of there summary usage.
So 100% - 69.1 % petz = the left 30.9 % petz has NOT taken is the old 100% of the other mods measured before.

To get the real rising in CPU usage the new 100% was about ~314 % new CPU usage, or petz added another 2 times more CPU usage then the other mods alone used before.

AS 69.1 % petz part from (100 / 30.9) 323.6% fast calculate new full CPU usage (real time compare) = 223.6%, so I hit exact enough as left 323.6 - 223.6 = old 100%.

But clear is, that petz, compare to your example made the CPU usage from 5% to 15 % !

petz alone is adding another 2 times more CPU load then before, or tripled the cpu impact.


And that just because of one detected rat ?
You must kidding me to try to tell me that this is fair adding CPU time ?
Festus1965 wrote:
Sat Apr 02, 2022 05:08
** 93.7 - 93.8 % : advtrains ... advtrains via github.com (3cb21a8/10.02.2022) tested ...
** 69.1 % : petz via github.com/runsy/petz 4688047 / 10.03.2022 - tested
** 67.1 % : pipeworks via ...
your mod is lucky, you can prof at least to have taken care one rat, BUT
there as no gamer logged in at most time, just at 0.7% of all time I was logged in to get the result.
The bit open question is now, did petz do all this usage in this 1 minute I was in to create and take care this ONE rat, or did petz useless work in the other time even no mapblock was activated ?

You see near clear BOTH possible solutions are bad recommendation for mod petz. It works much too hard for nothing. OR say other way = making lag for near nothing.

I remember Your-Land.de /profiler save show 33%, mean 1/3 of all CPU time on this server is just petz.
The 33% looks low, but on this server is also pipeworks active and technic ... so far I remember.
Yes those gamer have petz even farms ... but with the above result of now, petz is working even no or just 1 pet was created, I am sure this 33% is most wasted useless CPU time.

Sorry, but that is what I see.
This is a Petz Farm on a server:
Image

I counted 50 entities more or less.

1) The limit of players for Minetest is 100 players with a NASA computer.
2) Server owners do not limit Petz at all. So the refered server has 50 like players plus a real player that take that pic.
3) Servers are low spec and cheap PCs.
4) Servers have home Internet connections or are shared environments.

Sum 1 to 4 = LAG.

My server does not have Petz. Nor will it have any mobs mod. I don't plan to put it. Because I know it would require a server of at least 800 €.

So for me the problem is that people set up home servers and then want everything to work like a NASA computer.

I tell you, you can criticize because you have a powerful server. But 90% of the servers are only good for 8 players max. 90% of the servers should not have Petz, technicns nor advanced trains.90% of the servers should not be public, only for friends who know each other, and they are and that's how they are doing, like ***.
Last edited by runs on Sun Apr 10, 2022 09:24, edited 2 times in total.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

Festus1965 wrote:
Sat Apr 09, 2022 23:59
runs wrote:
Sat Apr 09, 2022 21:36
To make it clearer, a game without the mod can consume 5% of the CPU.
The game with the mod consumes 7% of the CPU, that is, 2% more, but the profile can give 90% with respect to the other processes of the game.

It is not a matter of analyzing absolute results, but relative ones.
Your example is misleading, as even I gave you the numbers.

As shown, server without petz, but even with mobkit had:
* player_api: 77.1 %
* fire: 22.9 %
* default: 1.6%

This is the basic 100% (or your 5%), but depending on that and the numbers with petz can calculate:

* petz: 69.1 %
* player_api: 22.6 %
* fire: 8.3 %
* default: 1.5 %

The base calculating is that SURE player, fire and default had the same summary impact, and the measured mod is a plus in more CPU time, not reducing the used time of other mods as measured before. They used the same amount of time, maybe 2%+/-.
So if now 22.6 % as before 77.1 % it is just relative as of petz impact.

Mean if petz ADDED another x % more, have to find as yue mentioned old 5% plus +2% to new 7% (= plus 40%) but it is much more.

As all other mods before was 100% they same now also = 100% of there summary usage.
So 100% - 69.1 % petz = the left 30.9 % petz has NOT taken is the old 100% of the other mods measured before.

To get the real rising in CPU usage the new 100% was about ~314 % new CPU usage, or petz added another 2 times more CPU usage then the other mods alone used before.

AS 69.1 % petz part from (100 / 30.9) 323.6% fast calculate new full CPU usage (real time compare) = 223.6%, so I hit exact enough as left 323.6 - 223.6 = old 100%.

But clear is, that petz, compare to your example made the CPU usage from 5% to 15 % !

petz alone is adding another 2 times more CPU load then before, or tripled the cpu impact.


And that just because of one detected rat ?
You must kidding me to try to tell me that this is fair adding CPU time ?
Festus1965 wrote:
Sat Apr 02, 2022 05:08
** 93.7 - 93.8 % : advtrains ... advtrains via github.com (3cb21a8/10.02.2022) tested ...
** 69.1 % : petz via github.com/runsy/petz 4688047 / 10.03.2022 - tested
** 67.1 % : pipeworks via ...
your mod is lucky, you can prof at least to have taken care one rat, BUT
there as no gamer logged in at most time, just at 0.7% of all time I was logged in to get the result.
The bit open question is now, did petz do all this usage in this 1 minute I was in to create and take care this ONE rat, or did petz useless work in the other time even no mapblock was activated ?

You see near clear BOTH possible solutions are bad recommendation for mod petz. It works much too hard for nothing. OR say other way = making lag for near nothing.

I remember Your-Land.de /profiler save show 33%, mean 1/3 of all CPU time on this server is just petz.
The 33% looks low, but on this server is also pipeworks active and technic ... so far I remember.
Yes those gamer have petz even farms ... but with the above result of now, petz is working even no or just 1 pet was created, I am sure this 33% is most wasted useless CPU time.

Sorry, but that is what I see.
AS 69.1 % petz part from (100 / 30.9) 323.6% fast calculate new full CPU usage (real time compare) = 223.6%, so I hit exact enough as left 323.6 - 223.6 = old 100%.

But clear is, that petz, compare to your example made the CPU usage from 5% to 15 % !

petz alone is adding another 2 times more CPU load then before, or tripled the cpu impact.

That's better, this is the real data, not 69%.

And what is said does not mean anything. That Petz doubles the CPU, does not mean anything, going from 5% to 15%, means that the PC (Minetest) subtracts 85% to do other things. The PC is overpowered. It is fine.

This is to be expected and foreseen, Petz is a power-intensive and power-requiring mod.

It's mathematics the more mods you install the more CPU power is required.

The real problem would be if Minetest with the mods you want to add consumes more than it can handle.

That thecnics and pipewirks consume a lot without doing anything, means that they need to do jobs in the background, check threads or ABMs or ..., for example, so that when they start they work.

Obviously a mod that adds a new block is not going to have an impact. But if you want powerful mods, you MUST HAVE A POWERFUL PC.
Last edited by runs on Sun Apr 10, 2022 09:23, edited 3 times in total.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

Another example, imagine that I have a PC with Window's and it works more or less fine for desktop applications. And then I install a last generation game. And I want to play it at 1080p. And I see that I have to reduce the resolution to play it at 60 FPS.

Would I complain about the game? No, I'd **** me, because I know that if I want to play modern games (requirements are specified) I have to have a good graphics card or throw the PC away and buy a new one.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison

by Festus1965 » Post

mod petz must have a powerful PC, ... I agree
I turn this also on pipeworks, technic and most advtrains also

to HAVE an idea, what happen to your PC and lag, is shown here ...
I proofed even with just one rat created, or on even empty no petz base, the load rises twice, or tripple the lag maybe

So my work show two things:
* there is a huge impact, even with no petz just with the mod = even if you set all value to just 1 pet to a gamer = the impact is huge already basically - same for pipeworks, much more for advtrains
* and following by, IF your server is already near 1s /status max_lag, AVOID it - as you reach then around 3s lag = no fun !
* or you need a much faster PC as server (hardware, or other package, mean no VPS, but maybe dedicated one)

or other way:
if you HAVE lag as of this yet measured 3 big impact mods and wanna keep them:
go hard on tuning: more RAM, usage of CACHE and fast disc to lower it, also maybe inside mt config

I know that there is
* hardware (CPU, RAM, disc), own thread
* OS (IO speed, cache) (also a thread) and
* mt (conf settings) involved,
this is why I am posting on all 3 possibilities in own threads also.

I point out facts ... that maybe new server admins don't run into problems, as we see a lot this time.
Maybe this info should be included then in ContentDB as a warning.

and back again:
That's better, this is the real data, not 69%.
How high ever the load is on your server ... 69% of the mt load is caused by petz in this configuration, mean
10 out of 15% sum mt, or 20 out of 30% from mt, or if server mt is 100% using CPU on a smaller system = JUST petz used again 69% of it.
It is always tripple the basic usage of mtg without itself or other added mods.

If you don't want to accept, I can do again and set all allowed petz to 0, mean no any pet should be generated, what will be then ... still 69% usage? If this is like I guess ... not better then advtrains or pipeworks, uses CPU time even if NO any item is created. And then, I could also call it lag machine.

And also: if server owner would better use a lower max gamer setting to avoid higher lag, also can help ... but most are just able to create a server and done. They don't know about /status, lag and other settings ...
but as longer they do, the more gamer come to my server ... I don't need to do this help for MT community at all !
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

Festus1965 wrote:
Sun Apr 10, 2022 09:59
If you don't want to accept, I can do again and set all allowed petz to 0, mean no any pet should be generated, what will be then ... still 69% usage? If this is like I guess ... not better then advtrains or pipeworks, uses CPU time even if NO any item is created. And then, I could also call it lag machine.
Do it. If not petz = 0 % (almost). In any case below 69%. I believe.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

Also I would like you to test for other mod mobs.

I created Petz to be the fastest, otherwise I would be disappointed myself.

Anyway I am always open to improve my mods.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison

by Festus1965 » Post

runs wrote:
Sun Apr 10, 2022 11:05
Festus1965 wrote:
Sun Apr 10, 2022 09:59
I can do again and set all allowed petz to 0, mean no any pet should be generated,
Do it. If not petz = 0 % (almost). In any case below 69%. I believe.
Aren't you the programmer, shouldn't you KNOW a difference then ?

But if is time, tell me how to set all 0, can happen faster then you think i test.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: mod impact comparison

by runs » Post

Festus1965 wrote:
Sun Apr 10, 2022 12:54
runs wrote:
Sun Apr 10, 2022 11:05
Festus1965 wrote:
Sun Apr 10, 2022 09:59
I can do again and set all allowed petz to 0, mean no any pet should be generated,
Do it. If not petz = 0 % (almost). In any case below 69%. I believe.
Aren't you the programmer, shouldn't you KNOW a difference then ?

But if is time, tell me how to set all 0, can happen faster then you think i test.
Never mind. I can be set to 0 but it will have no sense, cos it is supposedly the opposite. The mod checks a possible spawn point each 30 s by default.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison

by Festus1965 » Post

runs wrote:
Sun Apr 10, 2022 16:17
Never mind. I can be set to 0 but it will have no sense, cos it is supposedly the opposite. The mod checks a possible spawn point each 30 s by default.
Yes, that 30s I remember, as that was my intention not to think will be less usage.

Ok, lets go then into investigation:
What are possible spawn points ? Definition, loaded Mapblock ?
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

mod impact comparison : techage (8b0d340 / 22.03.2022)

by Festus1965 » Post

testing techage

source : https://github.com/joe7575/techage

version : 8b0d340 20 days ago (? 22.03.2022)

depends = default,doors,flowers,tubelib2,networks,basic_materials,bucket,stairs,screwdriver,minecart,lcdlib,safer_lua

still not testing:

Code: Select all

WARNING[Main]: Mod safer_lua at /home/thomas/.minetest/mods/safer_lua:
WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
WARNING[Main]: 	description.txt is deprecated, please use mod.conf instead.
WARNING[Main]: Mod lcdlib at /home/thomas/.minetest/mods/lcdlib:
WARNING[Main]: 	depends.txt is deprecated, please use mod.conf instead.
minor, but

Code: Select all

ERROR[Main]: ModError: Failed to load and run script from /home/thomas/.minetest/mods/techage/init.lua:
ERROR[Main]: /home/thomas/.minetest/mods/techage/init.lua:33: attempt to compare nil with number
ERROR[Main]: stack traceback:
ERROR[Main]: 	/home/thomas/.minetest/mods/techage/init.lua:33: in main chunk
and I just updated EVERY of the dependencies ... hmmm

Code: Select all

elseif minetest.global_exists("lcdlib") and lcdlib.version < 1.01 then
	minetest.log("error", "[techage] Techage requires lcdlib version 1.01 or newer!")
	return
deactivated with leading --, and then

Code: Select all

elseif minetest.global_exists("safer_lua") and safer_lua.version < 1.01 then
	minetest.log("error", "[techage] Techage requires safer_lua version 1.01 or newer!")
	return
also deactivated with leading --

and started ... test running since 8:40 ICT ... finished 20:00 or after 9:20h

wow - very low, nice
* player_api : 53.8 %
* techage : 30.4 %
* fire : 15.4 %
* default : 1.2 %
...
- this is just a raise of 43.7 % load, or if you run empty server mtg = 10% of CPUs, with techage you raise just to near 15 % with it.

techage is clear winner in technic ollver - against technic + pipeworks

Code: Select all

(T@__builtin)A total of F449981E sample(s) were taken.E

 instrumentation                               |    min µs |    max µs |    avg µs | min % | max % | avg %
---------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------

 player_api:                                   |         0 |       138 |         2 |   0.0 | 100.0 |  53.8
  - globalstep[1] ...........................  |         1 |       138 |         2 |   0.4 | 100.0 |  54.2
  - on_joinplayer[2] ........................  |        18 |        18 |        18 |   3.7 |   3.7 |   3.7
  - on_joinplayer[1] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2

 techage:                                      |         0 |        94 |         1 |   0.0 | 100.0 |  30.8
  - globalstep[1] ...........................  |         1 |        93 |         1 |   0.2 | 100.0 |  22.4
  - on_joinplayer[2] ........................  |         2 |         2 |         2 |   0.4 |   0.4 |   0.4
  - on_joinplayer[1] ........................  |        12 |        12 |        12 |   2.5 |   2.5 |   2.5
  - on_joinplayer[3] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2
  - on_joinplayer[4] ........................  |         1 |         1 |         1 |   0.2 |   0.2 |   0.2
  - globalstep[2] ...........................  |         1 |        82 |         1 |   0.2 | 100.0 |  24.6

 fire:                                         |         0 |       112 |         0 |   0.0 | 100.0 |  15.4
  - globalstep[1] ...........................  |         1 |       112 |         1 |   0.2 | 100.0 |  24.2

 default:                                      |         0 |       205 |         2 |   0.0 |  82.5 |   1.2
  - ABM 'Grass spread' ......................  |        75 |        85 |        80 |  80.6 |  82.5 |  81.6
  - ABM 'Grass covered' .....................  |       205 |       205 |       205 |  45.6 |  45.6 |  45.6
  - on_joinplayer[1] ........................  |        10 |        10 |        10 |   2.1 |   2.1 |   2.1

 flowers:                                                |         0 |       116 |         1 |   0.0 |  25.8 |   0.3
  - ABM 'Flower spread' ...............................  |       116 |       116 |       116 |  25.8 |  25.8 |  25.8

 sfinv:                                                  |         0 |       153 |         0 |   0.0 |  31.8 |   0.2
  - on_joinplayer[1] ..................................  |       153 |       153 |       153 |  31.8 |  31.8 |  31.8

 binoculars:                                             |         0 |        50 |         0 |   0.0 |  10.4 |   0.1
  - on_joinplayer[1] ..................................  |        50 |        50 |        50 |  10.4 |  10.4 |  10.4

 env_sounds:                                             |         0 |       111 |         0 |   0.0 |  23.1 |   0.1
  - on_joinplayer[1] ..................................  |       111 |       111 |       111 |  23.1 |  23.1 |  23.1

 ??:                                                     |         0 |        50 |         0 |   0.0 |  10.4 |   0.1
  - on_joinplayer[1] ..................................  |        50 |        50 |        50 |  10.4 |  10.4 |  10.4

 mtg_craftguide:                                         |         0 |         6 |         0 |   0.0 |   1.2 |   0.0
  - on_joinplayer[1] ..................................  |         6 |         6 |         6 |   1.2 |   1.2 |   1.2

 weather:                                                |         0 |        22 |         0 |   0.0 |   4.6 |   0.0
  - on_joinplayer[1] ..................................  |        22 |        22 |        22 |   4.6 |   4.6 |   4.6

 map:                                                    |         0 |        39 |         0 |   0.0 |   8.1 |   0.0
  - on_joinplayer[1] ..................................  |        39 |        39 |        39 |   8.1 |   8.1 |   8.1
-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |         1 |       481 |         4 | 100.0 | 100.0 | 100.0
Last edited by Festus1965 on Mon Apr 11, 2022 13:04, edited 2 times in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: mod impact comparison

by Festus1965 » Post

runs wrote:
Sun Apr 10, 2022 11:11
Also I would like you to test for other mod mobs.

I created Petz to be the fastest, otherwise I would be disappointed myself.
which ones ?

here data from my server:

Code: Select all

technic:                                      |         2 |    277795 |       648 |   0.0 |  99.8 |  34.8
pipeworks:                                    |         2 |    103448 |       790 |   0.0 |  99.2 |  31.4
wielded_light:        (new)                   |         0 |    141247 |       276 |   0.0 |  97.4 |   7.8
default:                                      |         0 |    138372 |       212 |   0.0 |  96.9 |   4.9
unified_inventory:                            |         0 |     60376 |        61 |   0.0 |  97.5 |   4.1
player_api:                                   |         0 |     31702 |        52 |   0.0 |  97.4 |   3.3
poshud:                                       |         2 |     29724 |        40 |   0.0 |  96.1 |   2.7
mobs_monster:                                 |         0 |    233285 |        52 |   0.0 |  99.4 |   2.4
spacesuit:                                    |         0 |    556143 |        20 |   0.0 |  97.3 |   0.8
mobs_fish:                                    |         0 |     42027 |        10 |   0.0 |  97.2 |   0.7
fire:                                         |         0 |     24492 |        19 |   0.0 |  91.9 |   0.7
areas:                                        |         0 |     43861 |        10 |   0.0 |  97.7 |   0.7
mobs_animal:                                  |         0 |     30514 |         9 |   0.0 |  97.5 |   0.5
xp_redo:                                      |         0 |     82661 |         8 |   0.0 |  96.5 |   0.5
protector:                                    |         0 |     28472 |        13 |   0.0 |  90.9 |   0.5
postool:                                      |         1 |      3119 |         5 |   0.0 |  69.7 |   0.5
...
mobs:                                         |         0 |       122 |         0 |   0.0 |   9.0 |   0.0
so mobs together = 3.6 %
that is less then default, and a bit more then player_api
and those both you know from other results ... so the impact of mobs is very low, fast guess, rise basic mtg by about 80% load, or maybe not double to original mtg lag.

Result : you fail your mission ... petz is far higher impact then the mobs_redo even on my server with gamer and allowed, existing mobs
but I may test it some day also on empty world, no gamer ... could be shocking at all.


looking inside the mods:
* if I false radiation damage in technic = save 33% of technic impact ?
* if false vacuum tubes in pipeworks = save 13 % of pipeworks impact ?
* wielded_light and default have most impact at on_step[1]
* unified_inventory on join_player_receive_fields
it is quit easy to see inside mod what part is most working and check it out ... (later: did that ! on my server now)
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 17 guests