mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 22:23:13 +02:00
1a76eb59e5d730dd1c67b2861bcd1e57874a0efc
vmakebuf_local_withprefix. Then use this new function - which creates the buffer-to-be-sent - at the top of functions like sendto_channel_butserv and sendto_common_channels and send the prepared buffer in the loop that comes after it. This means we only prepare the buffer once and then send it many times, rather than both building and sending it XYZ times. Benchmarking connect-join-quit of 10k clients: 100 users per channel: no noticeable speed improvement 1000 users per channel: 18% faster 10000 users in one channel: 50% faster As you can see, unfortunately, for a typical irc network there isn't much speed improvement. However, if you have a couple of 500+ user channels or get attacked by clones then you may see some improvement in speed and/or lower CPU usage.
- Upgrade to tre-0.8.0, adding hack similar to the one for c-ares to ensure that the bundled tre is compiled against even when a system libtre is installed. (#3916)
==[ COMPILING ]== To build the ircd, run: ./Config make If you specified an alternative location during ./Config you also need to run "make install". ==[ MAKING A CONFIG FILE ]== If you are new, then you need to create your own configfile: copy doc/example.conf to your main UnrealIRCd directory and call it unrealircd.conf . Then open it in an editor and carefully modify it, consult the docs (doc/unreal32docs.html, or online: www.unrealircd.com/unreal32docs.html) for more information about every block/setting. Common problems are explained in the FAQ, which is located at: http://www.vulnscan.org/UnrealIrcd/faq/ . ==[ BOOTING YOUR IRCD ]== Just type: ./unreal start Note that after booting the errors are usually logged to ircd.log, so check that file if you have any problems. Again, check the FAQ (and docs) if you have any boot problems.
Description
Languages
C
94.7%
M4
1.7%
Shell
1.5%
Rich Text Format
1%
Makefile
0.6%
Other
0.5%