IRC channel logs
2024-02-22.log
back to list of logs
<azert>I understood that migrating threads were mostly a resource accounting tool. But yes, I understand that this optimization might not be implemented but it seems important since if not there will be lots of dispatching and cache faults for no gain <youpi>migrating threads are useful to account expenses, yes <youpi>but that's also useful for locality in the end <azert>Ah, the migrating thread data structures was probably where this information could be passed along the layers <damo22>and works with slave_pset sending requests to it <youpi>better run a second ext2fs in the pset, not the / ext2fs ;) <solid_black>a second ./smp /hurd/ext2fs, and run a -j8 build on that <damo22>can it work as a translator entry? <youpi>to check that it really didn't get wrong :) <youpi>damo22: I was thinking about it, I believe so <youpi>since execve keeps all ports etc. intact <youpi>if ext2fs works really badly, perhaps try a simpler translator for <damo22>do i need to create a smp storeio? <youpi>testing storio is a separate question :) <youpi>note anyway that storeio is just a proxy for the information <youpi>see the bypass in libstoreio <youpi>that gets the storage information from storeio, then directly access the underlying data <damo22>i dont know how to mount with settrans <youpi>settrans /mnt/mnt /hurd/ext2fs /my/disk/image.img <youpi>if you want an active mount, add -a <youpi>settrans -a /mnt/mnt /hurd/ext2fs /my/disk/image.img <youpi>-c if /mnt/mnt doesn't exist yet, yes <youpi>is there a limit on the number of processors? (because of e.g. cpumask or such) <youpi>there are machines here in the lab with 64 hyperthreaded cores, so I can stress this "a bit" :) <damo22>root@zamhurd:~# e2fsck -y /dev/wd0s3 <damo22>/dev/wd0s3: clean, 616200/3276800 files, 6413347/13107200 blocks <damo22>and ext2fs used 125% cpu at one point <youpi>I was wondering whether top was displaying such stats correctly, so it does? <youpi>does the per-cpu stats work too? <youpi>ok, that'd be useful to fix :) <solid_black>does top read /proc, or does it use something Hurd-spcific? <damo22>i mounted the disk with settrans -a /part3 /home/demo/bin/smp /hurd/ext2fs /dev/wd0s3 <youpi>there's also the "last cpu used" columns which would be interesting to fix <youpi>I don't remember what top uses to get that though <damo22>how do i build a debian package with -j8 <damo22>i want to try building rumpkernel <damo22>the problem with ./smp is that it needs root <youpi>DEB_BUILD_OPTIONS=parallel=8 <youpi>but at worse you can force with that <damo22>it would be nice to be able to drop privileges to another user in one command <youpi>sudo ./smp su demo make -j 8 <youpi>to tell su that it's make -j 8 you want to run <solid_black>also on teh Hurd specifically, you can have root (or other) privileges without it being your euid <solid_black>so e.g. any files will be created as 'demo', but you will have all the access that 'root' has (including host priv port) <damo22>$ sudo /home/demo/bin/smp /usr/bin/su demo -c "make -j8" <solid_black>actually we should only need to keep copies of the first and the last vm entry in the address range <solid_black>also there's the entry->in_transition mechanism, looks like it's supposed to be used for cases like ours <gnucode>Am I reading the logs right? Ya'll got ext2fs working vis SMP ? <sneek>gnucode, you have 1 message! <sneek>gnucode, nckx says: No, but I'd be happy to create one if useful. <youpi>gnucode: yes, apparently it's all fine without any fixes inside ext2fs