• 4 Posts
  • 2.14K Comments
Joined 2 years ago
cake
Cake day: March 22nd, 2024

help-circle
  • I mean… it’s an issue. OP’s system is swapping the SSD when it clearly should not be doing it. My system had horrible usability issues in some scenarios without a lot of reconfiguration, and thrashed my SSD for no benefit.

    The default heuristic is not good for our systems, and OP’s situation is a pretty common scenario. That’s a fact. How is that not an issue?

    And support for TRIM and whatever else was added for SSD support is not really the issue, here. That’s working fine.



  • I disagree with most here.

    You need to reduce swappiness even more, and tweak some other variables (like the memory “threshold” Linux starts to swap, and disk cache aggressiveness) to stop Linux from swapping so opportunistically under such a light load.

    IMO, Linux is configured for “old” systems by default: slow HDDs, and constrained RAM pools, where disk IO really, really needs caching, and where idle background processes take a large fraction of RAM.

    You have superfluous RAM for your workload. And very fast disk IO that isn’t such a hindrance to apps anyway. And a disk you don’t want to wear. This is the opposite scenario: you don’t want Linux to swap unless it absolutely has to.

    For reference, this is part of my config. It’s rather niche and you probably shouldn’t use it, but you should consider looking up the variables:

    # Keep min reserve reasonable for 8GB usable space
    vm.min_free_kbytes = 262144        # Lower absolute minimum to 256MB
    
    vm.watermark_scale_factor = 10     # Lower to 0.1% (which is ~128MB on 128GB)
    
    # Disable watermark boosting completely
    vm.watermark_boost_factor = 0
    
    # Normal-ish metadata pressure so desktop doesn't stutter on disk reads
    vm.vfs_cache_pressure = 120
    
    # Allow reasonable swapping of inactive anonymous desktop pages, could be lower
    vm.swappiness = 10
    
    # Dirty bytes limits to limit caching
    vm.dirty_background_bytes = 67108864
    vm.dirty_bytes = 268435456
    
    # Disable compaction & proactive scans to stop freezing with large portions of RAM mlocked
    vm.compaction_proactiveness = 0
    vm.compact_unevictable_allowed = 0
    
    vm.page-cluster = 0 # 4kb pages for SSD
    

    My system still uses RAM as disk cache with this config, it just won’t go out of its way to swap just to keep that cache, especially I lower swappiness to 1-3.

    I also have a 1GB zram pool, prioritized over ssd swap. But you should make yours even larger (maybe 4GB?). This will intercept anything that does swap first.

    I also start some applications with systemd-run and specify memory caps and swap limits (often forbidding them from swapping entirely).

    It makes a night-and-day difference for some workloads on my system, that would otherwise swap pointlessly, just tank performance and even de-stabilize the system.



  • They “get the job done,” perhaps even provably, but:

    • It’s less flexible for fighting anti-adblocking.

    • Hence, it’s more work for Adblock devs/listmakers to maintain.

    You can see the UBO devs already complaining/stressing about it. Hence them recently dropping Facebook from their 1st-party lists because they’re tired of fighting paid devs, or increased reports of UBO Lite specific issues.

    I think that’s Google’s real intent.

    They aren’t trying to kill adblocking, just make it inconvenient enough so the vast majority don’t use it effectively. It’s a form of “soft” censorship, sort of.



  • As far as I can tell, that paper explores a model’s ability to assess its own future text output beyond what “regurgitating training data” would suggest. It makes sense that it could do this better than an outside model; it’s exploring its inner state with each token, though the test is still interesting.

    That has nothing to do with sampling, though.


    …Maybe an analogy would illustrate this better. First, I don’t mean to anthrophomorphize LLMs, but the human brain is a good example.

    The paper is analogous to asking a human brain to assess its own thoughts and tedencies. Of course it can do this well; it can think conscously and run thoughts through its subconscious parts.

    What OP is proposing, is analogous to “tell your eye receptors to see less green.” Or “get your vocal cords to omit a certain frequency when you speak.”

    There is no wiring in the human brain to do this. Vocal cords and cells that sense green in the eye are effectively “external machinery” to the brain that it does not have such control over.

    LLM sampling is the same.

    Tokenization and sampling are external machinery. They are code, hardcoded programming, completely outside the LLM weights. You can’t tell an LLM to alter its own sampling because its literally impossible, and it can’t manipulate its own logit spread mathematically because that’s invisible inner machinery.


    Could you do this with custom sampler/logit manipulation code and a tool harness?

    Sure. Maybe.

    But Claude is not rigged to do that, and a system prompt won’t change that.


  • …Okay. Technically, that’s true, going by strict semantics.

    But the Helium and Ungoogled Chromium are going to lose MV2, soon. I feel like “still supports uBlock Origin” doesn’t sufficiently convey that to Lemmy commenters trying to read the situation. That’s all I meant, though I was perhaps imprecise with my words.

    In other words, practically, if a users want to use UBO, they should know these browsers will not support that in the near future even if, strictly speaking, they support it right this second.


    I believe this means Brave will lose support too, unless they intend to extensively modify Chromium to maintain compatibility themselves (which would be odd, as Brave doesn’t really need UBO since it has its own adblocking engine?)










  • Okay.

    I don’t agree. But let’s say I agree.

    …Just don’t use Claude?

    Use an LLM without a watermark; there are hundreds to pick from.


    In other words, if one is going to try to hide automated writing, I think there should be a bare minimum effort to do so. That includes:

    • Reading/checking the text, to see if it makes any sense.

    • Actually trying to pass it as human.

    90% of slop is brain melting slop because this minimum bar isn’t even met. And all Claude’s watermark would do is catch that bottom of the barrel; it wouldn’t censor anyone.