uwsgi-cgi: General cleanup 6484/head
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Sun, 15 Jul 2018 20:43:52 +0000 (22:43 +0200)
committerDaniel Engberg <daniel.engberg.lists@pyret.net>
Sun, 15 Jul 2018 20:53:35 +0000 (22:53 +0200)
commit9eefad0ad1f4a1f9eb604ea20736422fe19ef548
tree729f76025b94e14fc35202d6d8294f0f51108bf3
parentd42e863ec22b7b99479be779c32b2e3158e499d1
uwsgi-cgi: General cleanup

* Remove stray LICENSE file added to repo
* Use codeload instead of git
* Add proper (as close as possible) SPDX license
* Drop OpenSSL, PCRE and Libxml2 as dependencies
  Makes it more suitable alternative for small flash devices
* Drop /etc/uwsgi as there's only one config file
* Remove stray /etc/nginx directory
* Reorganize configuration file
* Convert init.d script to use procd
* Hardset 3 threads and processes, seems like a good tradeoff
  between performance and memory usage instead of doing
  auto scaling based on amout of cpu cores/threads

Non-scientific benchmark (tm)
ramips, mt7621, WiTi Board 16/256M

1. 3 threads, 6 processes
2. 2 threads, 2 processes
3. 3 threads, 3 processes

- LuCI Main page

1.48s
1.72s
1.64s

- Status --> Firewall

6.24s
6.39s
6.40s

- Status --> Kernel log

266ms
256ms
251ms

- Network --> Firewall

936ms
1.08s
1.07s

- Network --> Wireless

1.39s
1.42s
1.40s

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
net/uwsgi-cgi/LICENSE [deleted file]
net/uwsgi-cgi/Makefile
net/uwsgi-cgi/files-luci-support/uwsgi.conf
net/uwsgi-cgi/files-luci-support/uwsgi.init
net/uwsgi-cgi/patches/001-remove-unused-deps.patch [new file with mode: 0644]
net/uwsgi-cgi/patches/002-dont-hardcode-zlib.patch [new file with mode: 0644]
net/uwsgi-cgi/patches/003-dont-override-toolchain-optimization.patch [new file with mode: 0644]