Recent content by Irrat

  1. I

    Feature - Implemented Enable item modes on modifier maximizer

    What's the actual maximizer string you're calling? I thought maximize -shirt adv means it will not modify your shirt mode. Or maximize +equip Jurassic Parka (spikolodon mode) +adv will always have your parka in spike mode. It sounds like you're saying you didn't do any of these, and the bug is...
  2. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    Yep, the largest remaining IO writes were because some files I had, grew larger than I anticipated. Which is a bit ironic given that they're only written to for about 5 minutes a day. So anyways, has anyone else crunched their own numbers for writes from mafia? I do find it a bit interesting...
  3. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    So io says about 1.64gb written. 5.91gb written to disk as per smartctl. Although come to think of it, I had been doing some builds over that period, which would explain why it's still higher IO than normal. As for mafia itself still having somewhat high io, no idea. But it's clearly shrunk...
  4. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    As a small update, been working on this PR; https://github.com/kolmafia/kolmafia/pull/3567 The approach I'm currently taking in it is writing preference changes as an encoded key=value\n. Encoded using the existing encoding setup. Each change is appended to a irrat_pref.journal, supporting...
  5. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    Monitoring with csysdig, or sudo csysdig -d 10000 and changing view + sort by, there's one file that always topped the results with a refresh time of 10 seconds. irrat_prefs.txt About 3-4mb on average per 10s based over a ten minute sample. Sometimes it dropped below 1mb, and sometimes it went...
  6. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    I believe I had tested against linux stats, not smartctl. I'll check those numbers later today after my day has run, can compare the smartctl then. I had forgotten to compare it originally, and the final numbers upset me enough that I ended up deleting the script I used to test. I hated the...
  7. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    Yeah I'm not really sure about periodic saving either. Its really not great in comparison. I'm not sure if you meant kolmafia backups or private backups. I don't think there's much reason to be doing kolmafia backups as a log file is never being rewritten, only appended. We don't have to modify...
  8. I

    Feature Reduce the amount of I/O wear and tear from writing preferences

    So while looking at this PR I was a bit surprised to find out that my 150kb prefs file is costing me about 5.4gb of writes a day from my 33k pref changes. We currently write the whole file out every time we change one value. To me that feels unacceptable, I want my drives to last longer than...
  9. I

    Feature Multiple Universal Seasoning Tracking

    Universal Seasoning tracking in KoLMafia seems half done, as per the wiki. https://wiki.kingdomofloathing.com/Universal_Seasoning This is kind of an extension of this report, however it feels too much like it belongs in its own thread...
  10. I

    Odd behavior of autostop - Early exits functions when hit

    I'm not really sure how Auto Stops is meant to work. If I use run_choice(1) in a choice adventure script, and it hits an autostop, it will early exit everything until a value capture is attempted. I encountered this issue with autoscend, where the choice handler script detected an error was...
  11. I

    Feature - Rejected Introduce temporary preferences for scripting

    Scripts often modify preferences to control how KoLmafia behaves. Sometimes this is because the user's existing preferences are unsuitable, and sometimes because the script needs different behavior temporarily (eg, autoscend or garbo) Normally this works, but many of these changes are not...
  12. I

    Bug - Fixed Track more clan furniture

    Thank you!
  13. I

    Bug - Fixed Track more clan furniture

    With a change last year to It's very minor but there's currently no way to correctly track if the furniture has been used today. Edit: Closing as it's not really a concern. Most of the reason this thread exists is because when I was typing out the initial draft, apparently Ctrl+Enter will...
  14. I

    Feature - Rejected Better file corruption support

    I think if anything, it'd be nice if mafia made a copy of the backup file if a possible settings corruption is detected. Doesn't do anything blocking, just puts it aside. Just to avoid the state where you had no idea your settings were corrupted until you loaded it and it wiped your backup...
  15. I

    Feature - Rejected Better file corruption support

    Running multiple accounts via scripting without human interaction, they start up automatically and some of the accounts run 24/7. Sometimes I lose power or the system dies unexpectedly, in my case it's specifically just unexpected shutdown I'm concerned about, where the data did not finish...
Back
Top