Earlier quoted context omitted.
What OS do you have in mind? Apparently OSX locks are fair, but the downside is that this may reduce throughput. Linux locks? I have no idea and would be interested to know. I suspect that occasionally fair locks would be ideal, but I don't know if they can be implemented efficiently.
pthreads don't guarantee fairness. futexes, the underlying locking primitive on Linux and the driver of the glibc implementation, don't either. Futexes do support priority inheritance, so you can use process priority safely. You might drop priority after releasing a lock to ensure some other thread gets a go, and as long as you control the priority of the other contenders, that can work well. Basics of futexes are he…
24-core CPU and I can’t type an email
61–70 of 320 posts
Re: 24-core CPU and I can’t type an email
#62Earlier quoted context omitted.
I'm confused about your suggestion. I work on the Chrome web browser on the Windows platform. If we want to allocate memory we, ultimately, need to call VirtualAlloc. I could work on Chrome for Linux, but then this bug on Windows might never get found or fixed. I am satisfied with my choices, despite the occasional glitches.
They failed to distinguish between "I use the Chrome browser on Windows to get work done" and "I work at Google, making Chrome for Windows". Human languages, what are you going to do?
I modify the source code of the Chrome browser in order to make the final PE files that are compiled from the aforementioned source code work more efficiently.
Re: 24-core CPU and I can’t type an email
#63> This is because Windows locks are, by design, not fair Get better OS; problem solved.
Re: 24-core CPU and I can’t type an email
#64Earlier quoted context omitted.
What OS do you have in mind? Apparently OSX locks are fair, but the downside is that this may reduce throughput. Linux locks? I have no idea and would be interested to know. I suspect that occasionally fair locks would be ideal, but I don't know if they can be implemented efficiently.
pthreads don't guarantee fairness. futexes, the underlying locking primitive on Linux and the driver of the glibc implementation, don't either. Futexes do support priority inheritance, so you can use process priority safely. You might drop priority after releasing a lock to ensure some other thread gets a go, and as long as you control the priority of the other contenders, that can work well. Basics of futexes are he…
Re: 24-core CPU and I can’t type an email
#65I just kind of figured we'd stop having UI lag by now. I work on a 24 core workstation with 64GB of RAM and things lag all the time. Not slow to complete, like jittery key entry and non-responses. Haven't we figured out thread prioritization by now? Can't we make sure something draws 60 times per second while things are going on in the background? My Android Studio build should be totally isolated from my inbox. I kn…
My machine randomly has input delay or mouse even after new install...
Re: 24-core CPU and I can’t type an email
#66Re: 24-core CPU and I can’t type an email
#67Earlier quoted context omitted.
pthreads don't guarantee fairness. futexes, the underlying locking primitive on Linux and the driver of the glibc implementation, don't either. Futexes do support priority inheritance, so you can use process priority safely. You might drop priority after releasing a lock to ensure some other thread gets a go, and as long as you control the priority of the other contenders, that can work well. Basics of futexes are he…
Ironically, priorities as a way of "giving control" to another thread only work if you have a shortage of CPU cores. On my 24-core workstation I can normally run all runnable threads, regardless of priority. The implications are non-obvious.
Re: 24-core CPU and I can’t type an email
#68Earlier quoted context omitted.
They failed to distinguish between "I use the Chrome browser on Windows to get work done" and "I work at Google, making Chrome for Windows". Human languages, what are you going to do?
Good point. How's this: I modify the source code of the Chrome browser in order to make the final PE files that are compiled from the aforementioned source code work more efficiently.
"I work at Google, making Chrome for Windows".
Re: 24-core CPU and I can’t type an email
#69I just kind of figured we'd stop having UI lag by now. I work on a 24 core workstation with 64GB of RAM and things lag all the time. Not slow to complete, like jittery key entry and non-responses. Haven't we figured out thread prioritization by now? Can't we make sure something draws 60 times per second while things are going on in the background? My Android Studio build should be totally isolated from my inbox. I kn…
I too wonder why UI threads are still so obnoxiously tied to... everything else. Put UI in the fast lane! (At least until some bug tries to make a bajillion calls a second)
Then I remembered how much more complicated it is to write proper multithreaded GUI code :P
Re: 24-core CPU and I can’t type an email
#70Earlier quoted context omitted.
I usually append /h/ to the URL (/mail/h/) and get a HTML version. It can work even without JS and it has classic design with small rows that works well on my small screen. No Material Design and no huge elements with large offsets.
I just tried that, and noticed promotions in the inbox, the non-HTML version separated the "primary" from the "promotions". Are they merging them to keep HTML version annoying?