CAM6 VS LibreQoS

Compare CAM6 vs LibreQoS and see what are their differences.

CAM6

Cellular Automata Machine (CAM6) Simulator (by SimHacker)

LibreQoS

A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat. (by LibreQoE)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
CAM6 LibreQoS
6 28
32 368
- 2.7%
2.1 9.2
9 months ago 4 days ago
JavaScript HTML
Apache License 2.0 GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

CAM6

Posts with mentions or reviews of CAM6. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-21.
  • Programming the CAM-6 Cellular Automata Machine Hardware in Forth (CAM6 Simulator demo)
    1 project | /r/Forth | 14 Dec 2022
    Github Repo: https://github.com/SimHacker/CAM6/
  • Ask HN: What weird technical scene are you fond/part of?
    25 projects | news.ycombinator.com | 21 Nov 2022
    https://www.youtube.com

    I hate it when a program I wrote mocks me. In Lex Fridman's interview of Steven Wolfram, he demonstrates the machine learning functions in Mathematica by taking a photo of himself, which identifies him as a .... (I won't give it away):

    https://www.youtube.com/watch?v=ez773teNFYA&t=2h20m05s

    Here's a video I recently recorded of the CAM-6 simulator I implemented decades ago, and rewrote in JavaScript a few years ago.

    https://www.youtube.com/watch?v=LyLMHxRNuck

    I recorded that demo to show to Norman Margolus, who co-wrote the book and wrote the CAM6 PC Forth code and many rules, so it's pretty long and technical and starts out showing lots of code, but I'm sure you'll totally get and appreciate it. I linked to a pdf copy of the book in the comments, as well as the source code and playable app.

    Demo of Don Hopkins' CAM6 Cellular Automata Machine simulator.

    Live App: https://donhopkins.com/home/CAM6

    Github Repo: https://github.com/SimHacker/CAM6/

    Javacript Source Code: https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...

    PDF of CAM6 Book: https://donhopkins.com/home/cam-book.pdf

    Comments from the code:

        // This code originally started life as a CAM6 simulator written in C
  • Theory of Self Reproducing Automata [pdf]
    1 project | news.ycombinator.com | 24 Sep 2022
    https://news.ycombinator.com/item?id=22738268

    DonHopkins on March 31, 2020 | parent | context | favorite | on: Von Neumann Universal Constructor

    Here's some stuff about that I posted in an earlier discussion, and transcribed from his book, "Theory of Self-Reproducing Automata".

    His concept of self-reproducing mutating probabilistic quantum mechanical machine evolution is quite fascinating and terrifying at the same time (or outside of time), potentially much more powerful and dangerous than mere physical nanotechnology "gray goo" and universe-infesting self replicating von Neumann probes:

    Can Programming Be Liberated from the von Neumann Style? (1977) [pdf] (thocp.net)

    https://news.ycombinator.com/item?id=21855249

    https://news.ycombinator.com/item?id=21858465

    John von Neuman's 29 state cellular automata machine is (ironically) a classical decidedly "non von Neumann architecture".

    https://en.wikipedia.org/wiki/Von_Neumann_cellular_automaton

    He wrote the book on "Theory of Self-Reproducing Automata":

    https://archive.org/details/theoryofselfrepr00vonn_0

    He designed a 29 state cellular automata architecture to implement a universal constructor that could reproduce itself (which he worked out on paper, amazingly):

    https://en.wikipedia.org/wiki/Von_Neumann_universal_construc...

    He actually philosophized about three different kinds of universal constructors at different levels of reality:

    First, the purely deterministic and relatively harmless mathematical kind referenced above, an idealized abstract 29 state cellular automata, which could reproduce itself with a Universal Constructor, but was quite brittle, synchronous, and intolerant of errors. These have been digitally implemented in the real world on modern computing machinery, and they make great virtual pets, kind of like digital tribbles, but not as cute and fuzzy.

    https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...

    Second, the physical mechanical and potentially dangerous kind, which is robust and error tolerant enough to work in the real world (given enough resources), and is now a popular theme in sci-fi: the self reproducing robot swarms called "Von Neumann Probes" on the astronomical scale, or "Gray Goo" on the nanotech scale.

    https://en.wikipedia.org/wiki/Self-replicating_spacecraft#Vo...

    https://grey-goo.fandom.com/wiki/Von_Neumann_probe

    >The von Neumann probe, nicknamed the Goo, was a self-replicating nanomass capable of traversing through keyholes, which are wormholes in space. The probe was named after Hungarian-American scientist John von Neumann, who popularized the idea of self-replicating machines.

    Third, the probabilistic quantum mechanical kind, which could mutate and model evolutionary processes, and rip holes in the space-time continuum, which he unfortunately (or fortunately, the the sake of humanity) didn't have time to fully explore before his tragic death.

    p. 99 of "Theory of Self-Reproducing Automata":

    >Von Neumann had been interested in the applications of probability theory throughout his career; his work on the foundations of quantum mechanics and his theory of games are examples. When he became interested in automata, it was natural for him to apply probability theory here also. The Third Lecture of Part I of the present work is devoted to this subject. His "Probabilistic Logics and the Synthesis of Reliable Organisms from Unreliable Components" is the first work on probabilistic automata, that is, automata in which the transitions between states are probabilistic rather than deterministic. Whenever he discussed self-reproduction, he mentioned mutations, which are random changes of elements (cf. p. 86 above and Sec. 1.7.4.2 below). In Section 1.1.2.1 above and Section 1.8 below he posed the problems of modeling evolutionary processes in the framework of automata theory, of quantizing natural selection, and of explaining how highly efficient, complex, powerful automata can evolve from inefficient, simple, weak automata. A complete solution to these problems would give us a probabilistic model of self-reproduction and evolution. [9]

    [9] For some related work, see J. H. Holland, "Outline for a Logical Theory of Adaptive Systems", and "Concerning Efficient Adaptive Systems".

    https://www.deepdyve.com/lp/association-for-computing-machin...

    https://deepblue.lib.umich.edu/bitstream/handle/2027.42/5578...

    https://www.worldscientific.com/worldscibooks/10.1142/10841

    Ericson2314 3 months ago [-]

    > Although I refer to conventional languages as "von Neumann languages" to take note of their origin and style, I do not, of course, blame the great mathematician for their complexity. In fact, some might say that I bear some responsibility for that problem.

    From the paper. Whew.

  • Show HN: Making a Falling Sand Simulator
    3 projects | news.ycombinator.com | 8 May 2022
    Typically a cellular automata simulation will have some edge condition like wrapping or mirroring an adjacent cell.

    A nice optimization trick is to make the cell buffers 2 cells wider and taller (or two times whatever the neighborhood radius is), and then before each generation you update the "gutter" by copying just the wrapped (or mirrored) pixels. Then your run the rule on the inset rectangle, and the code (in the inner loop) doesn't have to do bounds checking, and can assume there's a valid cell to read in all directions. That saves a hell of a lot of tests and branches in the inner loop.

    Also, the Margolus neighborhood can be defined in terms of the Moore neighborhood + vertical phase (even/odd row) + horizontal phase (even/odd column) + time phase (even/odd time). Then you can tell if you're at an even or odd step, and which of the four squares of the grid you're in, to know what to do.

    That's how the CAM6 worked in hardware: it used the x/y/time phases as additional bits of the index table lookup.

    https://github.com/SimHacker/CAM6/blob/master/javascript/CAM...

    Here's how my CAM6 emulator computes the Margolus lookup table index, based on the 9 Moore neighbors + phaseTime, phaseX, and phaseY:

                        function getTableIndexUnrotated(
  • Ask HN: What book changed your life?
    1 project | news.ycombinator.com | 19 Mar 2022
  • It's always been you, Canvas2D
    12 projects | news.ycombinator.com | 4 Mar 2022
    Oh, nicely done! Trying to code up cellular automata simulations are pretty much guaranteed to push my brains through my nostrils - I've never progressed far beyond classic Conway. Your CAM6 library[1] may be about to steal my weekend from me!

    [1] - https://github.com/SimHacker/CAM6

LibreQoS

Posts with mentions or reviews of LibreQoS. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-25.
  • LibreQoS – Fast, Flexible QoE for Smart ISPs
    1 project | news.ycombinator.com | 9 Apr 2024
  • New FCC standards should consider latency
    1 project | news.ycombinator.com | 28 Feb 2024
    Sorry, I think you are thinking of something else. Maybe a railroad crossing (:-))

    Joking aside, the https://www.waveform.com/tools/bufferbloat test looks to see if the networking software is working correctly by putting a large load on the network, and then seeing if other streams are affectec by the overload.

    The example on the https://libreqos.io/ home page is of

  • TCP's congestion control saved the internet
    4 projects | news.ycombinator.com | 25 Sep 2023
    fq_codel was successfully offloaded in a few products, however, no offload here, just a xeon with a ton of cores and a big L3. On the libreqos case we leveraged some ebpf to do packet steering in what we call the heimdal bridge, and also kathie nichol´s wonderful passive ping concept: https://github.com/thebracket/cpumap-pping

    src here: https://github.com/LibreQoE/LibreQoS/

    You can get a transparent high speed bridge with shaping capability up pretty rapidly with supported hardware.

    I still long for an ethernet card that can do a trie lookup natively! The flamegraphs are mostly getting the right packet to the right cpu, still.

  • SpaceX no longer taking losses to produce Starlink satellite antennas
    1 project | news.ycombinator.com | 16 Sep 2023
    That's doable. The HOA doesn't sell internet. Just pays for a Wi-Fi network that happens to reach you.

    I'd advice two high performance dishes (dishes are known to fail and support is an issue so one on standby while waiting) and a business connection. You'll need a third party router with fair queuing, protocol and service speed shaping etc etc. I'm sure both openwrt and opnsense will do. But check this out https://libreqos.io/

  • A dilemma of choice
    1 project | /r/tmobileisp | 1 Sep 2023
    Still, ya know, a modernized kernel on the devices is a start, better wifi, also, and if they do get arround to adding at the very least driver support for the linux BQL or AQL subsystems, and apply fq_codel, or cake, they could certainly manage the uplink better. At the higher rates supplied by the link, the wifi becomes the bottleneck for which solutions appeared in the Linux kernel in 2016. There has been some good research on actively managing the link via the sqm-autorate project, and multiple middleboxes such as those from preseem (fq_codel), and my own libreqos.io (cake) , might be able to manage the downlink better with the addition of link level stats, at very minimal CAPEX per subscriber.
  • UK users all need to complain to Ofcom for being mis-sold Starlink
    2 projects | /r/Starlink | 7 Jun 2023
    Also, people would notice starlink going to hell less often if starlink would just deploy libreqos.io.
  • [GN] Strange AliExpress Motherboards with Built-in CPUs: Erying Skyline & Polestar
    1 project | /r/hardware | 14 May 2023
    With dual 2.5 Gb/s and Alder Lake single-thread perf, I was thinking high-end latency-optimized QoS/Firewall for gigabit internet. CAKE and LibreQoS would love this thing.
  • Bufferbloat and NBN FTTN. Is it normal to only get a C rating on a waveform test across 3 modem routers?
    1 project | /r/nbn | 8 May 2023
    It is so wonderful to see so many happy SQM users all over the world. That said, do you think NBN might consider installing libreqos.io to benefit all their other users one day?
  • SQM (optimizing for videoconferencing and gaming) on the current eero products
    2 projects | /r/amazoneero | 13 Apr 2023
    I am curious as to the availability and functionality these days of the fq_codel option on the eero 6 and eero 6 business? When I last paid attention about a year ago ( https://www.reddit.com/r/eero/comments/u7xm83/gen_2_sqm_vs_gen_3_sqm_stick_with_gen_2_if_you/ ) only the gen2 had cake, and a lot of folk struggled with correct behaviors at +500Mbit with the 6's implementation of fq_codel. (The +500Mbit problems kind of indirectly spawned the libreqos.io project, which pushes the inbound shaping to a middlebox at the ISP) Anyway, did it get better? Does RFC3168 style ecn work on the wifi?
  • [Tutorial] How to setup SQM QoS for GeForce Now on OpenWRT routers with Cake for no packet loss and frame loss
    3 projects | /r/GeForceNOW | 21 Mar 2023
    You probably already know this, but the team behind Cake SQM are pushing to get ISPs to implement the free LibreQoS on their side, so that many more users could benefit from SQM: https://libreqos.io/

What are some alternatives?

When comparing CAM6 and LibreQoS you can also consider the following projects:

BezierInfo-2 - The development repo for the Primer on Bézier curves, https://pomax.github.io/bezierinfo

TrafficToll - NetLimiter-like bandwidth limiting and QoS for Linux

SVM-Face-and-Object-Detection-Shader - SVM using HOG descriptors implemented in fragment shaders

my-internet-speed - 🛎️ Monitor the speed your ISP is delivering

GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.

3proxy - 3proxy - tiny free proxy server

uBlock - uBlock Origin - An efficient blocker for Chromium and Firefox. Fast and lean.

tmo-monitor - A lightweight, cross-platform Python 3 script that can monitor the T-Mobile Home Internet Nokia, Arcadyan, and Sagecom 5G Gateways for 4G/5G bands, cellular site (tower), and internet connectivity and reboots as needed or on-demand.

new-wave - Stack Computer Bytecode Interpreters: The New Wave

Cake - :cake: Cake (C# Make) is a cross platform build automation system.

virtualagc - Virtual Apollo Guidance Computer (AGC) software

IP2Location-Python - This module is a Python Library that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage types, address type and IAB category that any IP address or host name originates from.