Originally posted by ssokolow
View Post
Announcement
Collapse
No announcement yet.
Linux Kernel Performance Bottlenecks Spotted By Mold Developer
Collapse
X
-
Originally posted by Wielkie G View PostThe first two points are nothing new as he has described them already since the very first version of mold (if I recall correctly). It is just the first time this has been brought forth to the kernel developers.
I cannot speak about the last point though. It might be a more recently found issue.
For the last point, it seems that there are several solutions that he has not tried.
For example, each linker process can attach a shared memory segment with "shmat".
The number of processes attached to the shared memory segment can be obtained with "shmctl".
Also with "shmctl", the segment can be marked to be deleted when the last process detaches from it.
When a process exits, it is automatically detached from any such shared memory segment.
This provides exactly the behavior requested by him, which enables the detection of how many linker processes are active, so Linux does not need any change from this point of view. These are ancient system calls belonging to UNIX System V IPC, so they are not widely known today.
Last edited by AdrianBc; 30 November 2024, 08:42 AM.
- Likes 1
Comment
-
Originally posted by stiiixy View Post
Probably out of context considering SSD is the theme, but SDCard.
If you want to choke things down, there are plenty of ways using modern technology, rather than old stuff that's harder to replace if it dies. (Hell, I haven't tried it, but you could probably simulate ancient storage technology performance by hitting NewEgg's "Under 5400RPM" filter and pairing what you find with a $3 SATA-to-IDE and a $3 IDE-to-SATA adapter off AliExpress. (Assuming you can't just simulate it in software using something like hdparm.)
Comment
-
Originally posted by schmidtbag View PostMost of what I said is not limited to disk bandwidth. There's quite a lot of overhead to collect the necessary information and to communicate over the various busses.
You could also conclude hat from the description, that it is faster if the file exists. Hardware doesn't care about that, it only writes data.
Comment
Comment