Ye derp, im used to 32, not 32k lol.
DacoTaco
The real deal y0
- 0 Posts
- 20 Comments
Cache man, its a fun thing.
32k32 (derp, 32 not 32k) is a common cache line size. Some compilers realise that your data might be hit often and aligns it to a cache line start to make its access fast and easy. So yes, it might allocate more memory than it should need, but then its to align the data to something like a cache line.
There is also a hardware reasons that might also be the case. I know the wii’s main processor communicates with the co processor over memory locations that should be 32k aligned because of access speed, not only because of cache. Sometimes, more is less :')Hell, might even be a cause of instruction speed that loading and handling 32k of data might be faster than a single byte :').
Then there is also the minimum heap allocation size that might factor in. Though a 32k minimum memory block seems… Excessive xD
DacoTaco@lemmy.worldto
Selfhosted@lemmy.world•Mommy, Why is There a Server in the House?English
1·4 months agoIm guessing though. I remember seeing it on 4chan as a teenager so thats between 2006 and 2010 or aomething :p
DacoTaco@lemmy.worldto
Selfhosted@lemmy.world•Mommy, Why is There a Server in the House?English
5·4 months agoIn 2008? More than you’d think.
DacoTaco@lemmy.worldto
Selfhosted@lemmy.world•Mommy, Why is There a Server in the House?English
13·4 months agoIt is not, its been a thing since circa 2008
DacoTaco@lemmy.worldto
Linux@programming.dev•Arch Linux remains under attack as DDoS enters week 2 - here's a workaround
301·4 months agoWanna bet its ai scrappers? Im part of multiple communities who have all been under serious ai scrapper bot ‘attacks’. We are talking millions and millions of requests in minutes by the bots. Its complete bonkers what those fucking bots are doing
DacoTaco@lemmy.worldto
Linux@programming.dev•Linux Mint 22.2 “Zara” Is Available for Public Beta Testing, Download Now
2·5 months agoSure hope so. Ive been waiting for cinnamon on wayland to because stable for while now. Really want to try wayland without cursing all over the place
( and yes, i know i could just try another DE and use that with wayland, thats not the point )
deleted by creator
DacoTaco@lemmy.worldto
Linux@programming.dev•Linux users are about to face another major Microsoft Secure Boot issue
2·5 months agoYup! And now we are facing the problems many sys admins face every day all over the world: certificate expirations!
Though instead of https(ssl) certificate of a server expiring, its the certificate used to validate what secure boot boots.
Thats what the article is about
DacoTaco@lemmy.worldto
Linux@programming.dev•Linux users are about to face another major Microsoft Secure Boot issue
3·5 months agoA yes, the fun times of a baby haha. Enjoy! :p
Anyway, Secure boot itself was designed by the eufi consortium, which is a group of pc tech companies, to help make sure devices only boot what it can trust. Good on paper and in practice but…back in circa 2011 microsoft had enforced any pc that wanted to be windows 8 certified ( and get the sticker ) to require secure boot to be enabled together with fastboot. All motherboards needed to have a tpm module with only the microsoft certificate in it. This meant that booting from a usb or cd was completely off the table and you could just not install linux, period.
And even if you did, the kernels or bootloaders were not signed so they would be refused by the bios/eufi.This was a big thing back then, and canonical and redhat tried and found a few ways around it, and so did some individuals.
But afaik the linux foundation ( which microsoft is part of, funnily enough ) made some binaries that were signed and allowed linux to boot under secure boot, including usb/cd.
Iirc, during the linux installation the distro will add its certificate to the tpm so that kernels signed by the distro boot fine.To this day, without those binaries from the foundation, it would be impossible to boot linux with secure boot and can still cause issues when dual booting and having bitlocker enabled for example. Bitlocker detects a changed boot state (by grub) and says fuck that, give me the recovery key or i aint decrypting this.
Here is a google search if you want dig deeper, it should all be from circa 2011-2012 :
https://www.google.com/?q=windows+8+oem+to+disable+linux
DacoTaco@lemmy.worldto
Linux@programming.dev•Linux users are about to face another major Microsoft Secure Boot issue
2·5 months agoA quick way to know is if youre running custom build kernel, or use mainline on ubuntu based systems, youre not using secure boot.
Those kernels are generally not signed and the cert is not added to the tpm to allow it. Youd have to have gone out of your way to do it, in which youd know secure boot was enabled :p
DacoTaco@lemmy.worldto
Linux@programming.dev•Linux users are about to face another major Microsoft Secure Boot issue
1·5 months agoWith? How it could effect us?
DacoTaco@lemmy.worldto
Linux@programming.dev•Linux users are about to face another major Microsoft Secure Boot issue
10·5 months agoIt might. It depends on a lot of stuff.
Microsoft was heavily involved in the making of uefi and secure boot but had heavy resistance from canonical as the early drafts of secure boot would not allow os’ to add signing keys to the tpm so a machine would only be able to boot windows.Thankfully canonical won that debate :')
It was announced in may on microsoft build event ^^
I call it nano for windows haha
Saw this post this morning and was thinking about how to delete it ( while falling back asleep ). Escaping the ~, ofc that’d work! I feel so stupid now haha
DacoTaco@lemmy.worldto
Electric Vehicles@slrpnk.net•Electric Cars Are More Reliable Than Gas Cars — New Study
5·8 months agoThis is true, because the compression limit and timings of ignition isnt as important with diesel.
That said, less complexity is better, so even diesel is out of the race :p
(And yes, ev’s have a lot of complexity too. Not gonna deny it. Shits complex to keep stable m’key )
DacoTaco@lemmy.worldto
Green Energy@slrpnk.net•Utah lawmakers unanimously approve German-style balcony solar
3·9 months agoThere are still ways around it. Ive installed mine but didnt put it over the railing of the apartment. From the outside you dont see it unless you look for it, and from my perspective you loose some space. Yes it doesnt run as effectively because of shadows ( ~280W instead of the 400W ) but that still offsets my pc and audio setup from my bill haha
Where there is a will, there is a way
DacoTaco@lemmy.worldto
Programmer Humor@programming.dev•When you look at code you wrote last year
12·10 months agoMe during code reviews of other people
DacoTaco@lemmy.worldto
Linux@programming.dev•Linus Torvalds to Hector Martin: 'Maybe the problem is you'
13·11 months agoApparently, martin has in general nuked his socials? Im getting an error on mastadon
Tools are always useful. If its a good thing to (ab)use said tool depends on the tool and if its human or not :p
… And the job for the tool ofc