American_Jesus

joined 2 years ago
[–] American_Jesus@lemm.ee 2 points 1 week ago (1 children)

Use NVIDIA as primary GPU on laptops (not offload)
https://www.phoronix.com/news/NVIDIA-R575-Wayland-Plans

Currently you can only set NVIDIA to offload some of the rendering, but not as primary GPU like X11

https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only

[–] American_Jesus@lemm.ee 20 points 2 months ago (2 children)

So the movie Civil War (2024) became a reality

[–] American_Jesus@lemm.ee 34 points 2 months ago (1 children)

Oh yes, USA food standards high sugar, food dyes and colesterol

[–] American_Jesus@lemm.ee 3 points 3 months ago

It could depend on your distro, official packaging (docker,Debian,Fedora) have MALLOC_TRIM_THRESHOLD_=131072 , but different distros could have (or not) ship with different settings.

Official settings for systemd https://github.com/jellyfin/jellyfin-packaging/blob/master/debian/conf/jellyfin

[–] American_Jesus@lemm.ee 22 points 3 months ago

The value of this tunable is the minimum size (in bytes) of the top-most, releasable chunk in an arena that will trigger a system call in order to return memory to the system from that arena.

https://www.gnu.org/software/libc/manual/html_node/Memory-Allocation-Tunables.html


MALLOC_MMAP_THRESHOLD_ is an environment variable that sets the size threshold for using the mmap system call to allocate memory instead of using the heap.

  • Default: 128 KiB
  • Behavior:
    • If a memory request is ≥ 128 KiB, mmap is used.
    • If < 128 KiB, the heap is used.
  • Purpose:
    • Helps manage large memory allocations more efficiently.
    • Can be adjusted to optimize performance for specific applications.
 

Many users reported high memory/RAM usage, some 8GB+.

In my case gone from 1.5GB+ to 400MB or less on Raspberry Pi 4.

Adding MALLOC_TRIM_THRESHOLD_=100000can make a big difference.

With Docker:
Add to your docker-compose.yml and docker compose down && docker compose up -d

...
environment:
  - MALLOC_TRIM_THRESHOLD_=100000
...

With systemd:
Edit /etc/default/jellyfin change the value of MALLOC_TRIM_THRESHOLD_ and restart the service

# Disable glibc dynamic heap adjustment
MALLOC_TRIM_THRESHOLD_=100000

Source: https://github.com/jellyfin/jellyfin/issues/6306#issuecomment-1774093928

Official docker,Debian,Fedora packages already contain MALLOC_TRIM_THRESHOLD_.
Not present on some docker images like linuxserver/jellyfin

Check is container (already) have the variable
docker exec -it jellyfin printenv | grep MALLOC_TRIM_THRESHO LD_

[–] American_Jesus@lemm.ee 3 points 3 months ago (1 children)

Maybe too many connections, use BitTorrent calculator to recommend some settlings (just input your max upload bandwidth)

https://torrentcalc.gabe.xyz/

[–] American_Jesus@lemm.ee 5 points 3 months ago (1 children)

By a spear, then repawn after 3 days

[–] American_Jesus@lemm.ee -3 points 3 months ago

RiMusic is update regularly, no third party player is perfect, even PipiPipe or Newpipe can break suddenly, Google/YouTube don't like third party apps using their services and are always implementing ways to break apps

 
 

There are some torrrents showing up with .lnkextension (ex: movie.mp3.lnk, tvshow.mkv.lnk...) and automated software (Sonarr, Radarr, Lidarr, qBittorrent RSS Downloader) could pick those torrents (but not import).

These (fake) torrents include a .lnk file that executes a script on your Windows


HOW TO exclude from download on qBittorrent.

  • Go to Options -> Downloads

  • Enable "Exclude file names"

  • Add patterns:

(one by line)

*.mp4.lnk  
*.mp3.lnk  
*.mkv.lnk
*.torrent.lnk 
*.zipx
*.scr
*.arj
*.lzh

Or exclude all together: *.lnk


Example on VirusTotal https://www.virustotal.com/gui/file/e74f64df6ebaf3a1b6e3f42591eb6e87d2ac2828eb5a99fd8d3d82c140137fc9/detection

view more: next ›