View Issue Details

IDProjectCategoryView StatusLast Update
0000080unrealircdpublic2003-08-12 18:56
ReportercodemastrAssigned Tocodemastr 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionopen 
PlatformAllOSAllOS VersionN/A
Product Version3.2-beta6 
Summary0000080: /stats Z config memory info
DescriptionRather than readd this the way the old config had it, maybe we should make it much more CPU friendly when readding. Since config items memory usage does not change once the config is loaded, what about storing this info in a global variable that is updated at startup and /rehash. This way the total config blocks and total config struct memory usage is not recalculated each time /stats Z is called. The /stats Z output can be cleaned up more as well, it appears we recalculate the number of connected users each time it is called, we already have a variable containing this information. Same for channels, etc. The goal is to reduce the CPU usage so much so that it is 'safe' to allow /stats Z to be a user usable flag.
TagsNo tags attached.
3rd party modules

Activities

syzop

2003-08-12 18:56

administrator   ~0003464

[1 year later] not worth it, /stats Z is ment oper only :p.

Issue History

Date Modified Username Field Change
2003-08-12 18:56 syzop Status assigned => closed
2003-08-12 18:56 syzop Note Added: 0003464