Ministry of Russophobia
 
[Most Recent Entries] [Calendar View] [Friends]

Below are the 4 most recent journal entries recorded in sadkov's LiveJournal:

    Saturday, August 17th, 2019
    3:12 pm
    RLE Blitting
    Ok. Transitioning to RLE blitting haven't improved the performance that much in general case - just 20% speedup (70% when drawing fully opaque sprites, without any blending or effects), but code complexity greatly increased. Still most of my sprites are opaque. Also, for blitter, GCC compiled code is 30% faster than the Clang one.

    One thing I noticed while measuring performance (for both rle and non-rle code) was that at times my code completed two times faster, which is impossible because test used all static data (a single sprite which it blitted a million of times in a loop), with only variables being branch prediction, while I have 0% CPU load, and it doesn't make any syscall inside measured code. What does that even mean? Branch misprediction does affect performance, but not two times in the long run, because it would quickly retrain the cache on thousandth iteration.

    Broken scheduling or OSX intentionally slowing down the code? Or maybe the Intel CPU itself does that? My MacBook is relatively old, so if it has any time bomb, it would be activated by now. Or maybe that is the infamous Meltdown fix slowing down my code two times? How does one disable the Meltdown patch? For Linux there is https://make-linux-fast-again.com/, but what about OSX? I don't care about security - it is overrated.

    Another interesting finding, with GCC __builtin_expect makes code faster, but in Clang the same __builtin_expect makes the same code slower. As if Clang intentionally uses that info to incur misprediction. WTF?

    There is also an article, https://www.theverge.com/2018/11/12/18077166/apple-macbook-air-mac-mini-t2-chip-security-repair-replacement-tool

    Current Mood: annoyed
    Sunday, March 18th, 2018
    8:12 pm
    Windows 10 и "F1"
    Как я уже упоминал, нечаянное нажатие F1 в Windows 10 запускает браузер и открывает в нем bing. Все это грузится иногда больше минуты. Тех поддержка Microsoft отказывается отвечать как отключить F1, либо издевательски предлагает менять через gpedit.msc, который присутствует только в Enterprise версиях Windows
    https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings-winpc/how-do-i-stop-f1-opening-a-browser-window-on-how/7f68f9b8-9d87-43a5-9a79-db87702254b5

    Однако один из пользователей дал точные команды:
    taskkill /f /im HelpPane.exe
    takeown /f %WinDir%\HelpPane.exe
    icacls %WinDir%\HelpPane.exe /deny Everyone:(X)


    Иными словами надо как обычно удалить файл сервиса помощи. Вообще, это тенденция какая-то, ибо автоапдейт и многие другие надоедливые сервисы отрубаются только повреждением их файлов.

    Current Mood: amused
    Wednesday, January 10th, 2018
    6:32 am
    Обновление Превращает AMD-ноутбуки в Кирпичи
    https://www.theregister.co.uk/2018/01/08/microsofts_spectre_fixer_bricks_some_amd_powered_pcs/

    it appears the only workaround is to reinstall Windows and immediately delay updates

    А я вас предупреждал, бедняши, но вы меня высмеяли и авто-апдейт не отключили. R.I.P.

    По мотивам:
    http://lj.rossia.org/users/sadkov/32916.html и http://lj.rossia.org/users/sadkov/41604.html

    picture

    Current Mood: cynical
    Current Music: Real Life - Send Me And Angel
    Wednesday, January 3rd, 2018
    11:25 pm
    Немедленно отключайте обновление системы!!!
    https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/
    Crucially, these updates to both Linux and Windows will incur a performance hit on Intel products. The effects are still being benchmarked, however we're looking at a ballpark figure of five to 30 per cent slow down, depending on the task and the processor model.

    Иными словами все ваше программное обеспечение будет работать на 30% медленней. На OSX тоже отключайте, Apple выкатят аналогичный патч: http://appleinsider.com/articles/18/01/03/apple-has-already-partially-implemented-fix-in-macos-for-kpti-intel-cpu-security-flaw

    Это вдогонку к http://www.digitalspy.com/tech/apple/news/a846310/apple-offers-fix-deliberately-slowing-down-old-phones/


    picture

    Current Mood: impressed
    Current Music: Telex - Moskow Diskow
Цитаты о Родине   About LJ.Rossia.org