What's new

pixelserv pixelserv - A Better One-pixel Webserver for Adblock

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Installed test-1 the arm executable in my AC-68U. Crashed after 10 minutes. Manually started the service again. So far so good.

Edit: Not that good. It's crashing every once a while.

Sent from my Moto G (5) Plus using Tapatalk
 
Last edited:
Edit: Not that good. It's crashing every once a while.
I too was getting very frequent crashes, with no clear causes (to me) based on the debug logging. Rolled back to prior stable for the time being.
 
I too was getting very frequent crashes, with no clear causes (to me) based on the debug logging. Rolled back to prior stable for the time being.

Same here. Rolled back to rc4.
 
thanks for all the adventurers!

we're stepping into the dark side of openssl. You may find the comment from openssl dev interesting.

A new build will be uploaded shortly.
 
New beta version Km-test.2 aka v2.1.0-test.2

Thanks again for all the testing on the prior version. I believe I nailed down the seemingly random crashes. In Km-test.2, I revised the ssl caching code to better protect openssl objects under massive concurrency.

For details in this test version and the upcoming v2.10 release, pls read the latest on kazoo.ga/pixelserv-tls.

Entware-ng (ARMv7 and mipsel) users can use the one liner below as usual or otherwise to install.

Code:
sh -c "$(wget -qO - https://kazoo.ga/pixelserv-tls/install-beta.sh)"

One major new feature is caching most frequently used certificates in memory and enabling SSL session resume. Recurring HTTPS requests will see significantly less time to process i.e. near HTTP speed.

A snapshot of ssl cache related counters. More explanation on the above page.
fUnfEEP.png


Will appreciate any feedback.
 
New beta version Km-test.2 aka v2.1.0-test.2

Thanks again for all the testing on the prior version. I believe I nailed down the seemingly random crashes. In Km-test.2, I revised the ssl caching code to better protect openssl objects under massive concurrency.

For details in this test version and the upcoming v2.10 release, pls read the latest on kazoo.ga/pixelserv-tls.

Entware-ng (ARMv7 and mipsel) users can use the one liner below as usual or otherwise to install.

Code:
sh -c "$(wget -qO - https://kazoo.ga/pixelserv-tls/install-beta.sh)"

One major new feature is caching most frequently used certificates in memory and enabling SSL session resume. Recurring HTTPS requests will see significantly less time to process i.e. near HTTP speed.

A snapshot of ssl cache related counters. More explanation on the above page.
fUnfEEP.png


Will appreciate any feedback.
Jumped right in! [emoji3] Thanks a lot for being in the feedback loop. Will keep you posted on stability.

Sent from my Moto G (5) Plus using Tapatalk
 
Will there be a armv8 version to test?
My 86U would like to participate in the fun.
 
@thelonelycoder Unfortunately I don't have the ARMv8 toolchain installed. I could find time to try on another weekend. Someone with the toolchain (+the openssl library for ARMv8) shall be easy to get it compiled. I do have Km-test.2 binary for ER-X in case anyone has interest.

In other news, ER-X (4 virtual mips cores @880MHz) finally beats RT-AC56U (2 armv7 cores @1200MHz). Screenshot from ER-X:
zuydMVs.png


On RT-AC56U, lowest tav I've seen on Km is 9ms even thought clock speed is 36% higher.

Take away: I recommend people run version Km (and later v2.1.0) on your machine with the most number of cores. Clock speed is only secondary consideration. More cores no matter slower will benefit pixelserv-tls' design of massive concurrency.
 
Test2 is good so far at the two hour mark, no crashes. Haven't gotten to a purge point yet but the average time is half what it was at the 1 hour mark; cached certs are 70 and cached hits are 222.
 
Test2 is good so far at the two hour mark, no crashes. Haven't gotten to a purge point yet but the average time is half what it was at the 1 hour mark; cached certs are 70 and cached hits are 222.

You've to work harder to reach over the 100 mark!

Other than that good observations, Km/v2.1.0 onwards with the ssl caching, the longer pixelserv-tls runs the better speed it'll be with its "self-tuning." (Hence, normally shall avoid restarting pixelserv-tls if not needed).
 
I saw @RMerlin had put up a separate toolchain for newer ARMs. It's a quick download so I gave it a try.

For RT-AC86, you've to manually download pixelserv-tls.v2.1.0-test.2.armv8.zip from releases and run the executable inside "dist" for now.

@thelonelycoder, specially brewed for you. Pls let me know if it runs.

edit:
now ppl can use the same script to install for RT-AC86U
Code:
sh -c "$(wget -qO - https://kazoo.ga/pixelserv-tls/install-beta.sh)"
 
Last edited:
I saw @RMerlin had put up a separate toolchain for newer ARMs. It's a quick download so I gave it a try.

For RT-AC86, you've to manually download pixelserv-tls.v2.1.0-test.2.armv8.zip from releases and run the executable inside "dist" for now.

@thelonelycoder, specially brewed for you. Pls let me know if it runs.

edit:
now ppl can use the same script to install for RT-AC86U
Code:
sh -c "$(wget -qO - https://kazoo.ga/pixelserv-tls/install-beta.sh)"
Thanks, but it still fails to start:
Code:
user@RT-AC86U-AD60:/tmp/home/root# /opt/etc/init.d/S80pixelserv-tls start
 Starting pixelserv-tls (AB-Solution)... failed
user@RT-AC86U-AD60:/tmp/home/root# pixelserv-tls -v
pixelserv-tls: error while loading shared libraries: pixelserv-tls: unsupported version 0 of Verneed record
Does that help?
 
Thanks, but it still fails to start:
Code:
user@RT-AC86U-AD60:/tmp/home/root# /opt/etc/init.d/S80pixelserv-tls start
 Starting pixelserv-tls (AB-Solution)... failed
user@RT-AC86U-AD60:/tmp/home/root# pixelserv-tls -v
pixelserv-tls: error while loading shared libraries: pixelserv-tls: unsupported version 0 of Verneed record
Does that help?

That's sad news but not unexpected. I'll need to build from the firmware (or build from Entware 3.x). Both are tedious processes that I'm unlikely to proceed atm.

If some forum members have the RT-AC86U firmware build environment or Entware-3x build environment, it shall be quick to compile.

Alternatively if someone can upload the following four files from RT-AC86U FW build environment, I may be able to give another quick try:
Code:
libcrypto.a
libcrypto.so.1.0.0
libssl.a
libssl.so.1.0.0

Sorry..
 
That's sad news but not unexpected. I'll need to build from the firmware (or build from Entware 3.x). Both are tedious processes that I'm unlikely to proceed atm.

If some forum members have the RT-AC86U firmware build environment or Entware-3x build environment, it shall be quick to compile.

Alternatively if someone can upload the following four files from RT-AC86U FW build environment, I may be able to give another quick try:
Code:
libcrypto.a
libcrypto.so.1.0.0
libssl.a
libssl.so.1.0.0

Sorry..
Yeah, I haven't got these. But I can wait until you have time, no problem.
 
Good to hear. My weekend was spoiled by the crashes but hunting down the possible causes brought back good memories.
Performance on test 2 has been great. I’ve been hitting it intentionally hard and it’s quite stable. I’m going to just let it run organically for today and check on it tonight or tomorrow to see how it goes.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top