• 3 Posts
  • 29 Comments
Joined 5M ago
cake
Cake day: Jun 07, 2024

help-circle
rss


GL.iNet are good ones, or if you want to go the Rambo mode, then an orange pi r1 plus, one of these will do the work. Good luck



what it’s log2ram

Log2Ram is a utility designed to extend the lifespan of storage devices, particularly SD cards in Raspberry Pi systems, by reducing write operations[1][4]. Here’s an overview:

How it works

Log2Ram redirects log files from being written directly to storage (/var/log) to being written to RAM instead[1]. It creates a mount point in RAM for /var/log, so all logs are written to temporary memory (tmpfs) rather than the physical disk[2].

Benefits

  1. Extended storage life: By reducing write operations to SD cards or SSDs, Log2Ram helps prolong their lifespan[1][4].

  2. Improved performance: Writing to RAM is faster than writing to disk, enhancing system responsiveness[4].

  3. Transparency: Applications continue to write logs to /var/log as usual, unaware that it’s now in RAM[1].

Key features

  • Configurable RAM allocation for logs (default 40M)[2]
  • Daily synchronization of RAM logs to disk via a cron job[1]
  • Synchronization on system shutdown to preserve logs[1]
  • Optional use of rsync for synchronization[2]
  • Compatibility with zram for space-efficient log storage[3]

While Log2Ram offers significant benefits, it’s important to note that logs may be lost in case of unexpected power loss or system crashes before synchronization occurs[3].

Citations: [1] How log2ram works. | The World’s Linux Journal https://linuxfun.org/en/2021/01/01/what-log2ram-does-en/ [2] Log2Ram https://nimno.net/dev/linux/log2ram/ [3] Extend The Lifespan of Your Raspberry Pi’s SD Card with log2ram https://ikarus.sg/extend-sd-card-lifespan-with-log2ram/ [4] Optimizing Performance with Raspberry Pi Log2Ram https://fleetstack.io/blog/raspberry-pi-log2ram-guide [5] Using Log2RAM on the Raspberry Pi - Pi My Life Up https://pimylifeup.com/raspberry-pi-log2ram/ [6] How To Write Log Files In RAM Using Log2ram In Linux - OSTechNix https://ostechnix.com/how-to-write-log-files-in-ram-using-log2ram-in-linux/ [7] Extend your Pi’s SD Card Life with Log2Ram! - YouTube https://www.youtube.com/watch?v=MrRGa7kAhQo [8] How to extend the lifespan of memory cards on the Raspberry Pi with Log2Ram https://www.geekbitzone.com/posts/2020/log2ram/log2ram-raspberry-pi/




Set watchdog to reboot every day and juice it until the last drop before it definetly crashes.

Edit: that’s just a workaround if you really want try to fix it my answer would be restoring BIOS defaults, then clean install of the OS and then check it everything works fine, if the error persist try installing another OS if it still fail then go to the first step.


My humble POV it’s to stick with whatever do the work.




You want to access your server under CG-NAT from the outside or what is the point??


I have bought several used hardware at local marketplaces which are working like a charm, it depends if you know about what are you looking for when you buy.


My recommendation would be buying a used HDD at a local online marketplace, if you want bang for the buck, if you don’t, then buy a SSD from AliExpress(important to check reviews)


I do, worked fine for like a year and then suddenly started having stability problems, maybe there is a problem with the config of my cloud servers but idk.


Yeah I mean, are you using the same DNS resolver in the server and client?



Not exactly if you have relevant information reach me a PM and we can accord an agreement…

Edit: nevermind found the answer by myself anyway good luck!!


I believe it depends on exactly what you define as a “good” person…



My friend used to employ several people for that, but they started using AI to work less so he decided to start doing by his own with AI instead of paying someone else to do the same.



TBH I’m going down the rabbit hole hard, it’s the way I am, if I get an idea I am not happy until it start making money, as I see it is not completely bad, education it’s a fucking shitty mess, just a way to get money away of people(making them paying a loan for 30 years) and perpetuating the fake idea of social status, If we get some of these bucks in the way I didn’t see what’s wrong about it, anyway these dumb people will do their things one way or another.


I have a friend who is running a business of doing homework on demand, he is using AI to do the work, he got a work returned because AI generated content was detected on it, he used to employ real people to do the work but anyway real people used AI too sometimes, so he knows I’m a “hacker” LMAO and asked me if I knew any way to fool the anti-AI systems, I thought about running a private LLM and training it with real human generated content like ebooks depending on the subject of the work, do you think it could be possible to fool these things with this method?


I think hosting my own LLM wouldn’t work, at some point and as someone said it, the big models are already trained on all the internet stuff, so there is no point into feeding it with more stuff like ebooks, I have to find a way to make the AI write dumber or make it analize the way an author write to then make it emulate the author.


Interesting information mate, I’m documenting myself into the subject, thx for the help 👍👍


I was talking about that with a friend some days ago, and they made an experiment, they just made the AI correct punctuation errors of a text document, no words at all which you can easily add manually, and the anti-AI system target 99% AI made, I don’t know how to explain that, maybe the text was AI generated also IDK or there is a watermark in some place, a pattern or something.

Edit: you point will be that there is no way to fool the anti-AI systems running a private LLM?


I need it to make academic works pass the anti-AI systems, what do you recommend for that work? It’s for business so I need a reasonable good performance but nothing extravagant…

I believe commercial LLMs have some kind of watermark when you apply AI for grammar and fixing in general, so I just need an AI to make these works undetectable with a private LLM.



The K8 it’s Ryzen, the K9 Intel, money isn’t a problem and it’s not a spending it’s a investment I need it for business, which of these two models would you recommend for a reasonable good LLM and Stable Diffusion?

I’m looking for the most cost-effective solution.


Yeah, I did see something related to what you mentioned and I was quite interested. What about quantized models?


Is it possible to run a LLM on a mini-pc like the GMKtec K8 and K9?
I have experience in running servers, but I would like to know if it's possible to do it, I just need a GPT 3.5 like private LLM running.
fedilink