Quoting Justus Winter (2014-12-10 01:50:17)
> Quoting Samuel Thibault (2014-12-10 00:07:28)
> > so people can try them.
> Yes, on real workloads.
Somewhat less synthetic:
% bash do_pipebench.bash
Piping 1024 MByte from zero to null.
(dd if=zero bs=X count=overall/X | dd of=null bs=X)
4096 81
Hello,
I came up with a neat trick to rescue hanging Hurd systems. Or
rather, the filesystems. When we kill an essential task from the
kernel debugger, /hurd/startup will reboot the system:
Stopped at machine_idle+0xe: leave
db> call task_terminate($task4)
0
db> c
/hurd/startup: Crashing
Now that we do not use sequence numbers anymore, we can simply use
libports notification server functions.
* libpager/Makefile (SRCS): Drop `no-senders.c', and `notify-stubs.c'.
(OBJS): Drop `notifyServer.o'.
* libpager/demuxer.c (pager_demuxer): Use libports server functions.
* libpager/mig-mutat
The node cache uses a fixed number of buckets giving it a linear
access complexity, although with a small constant factor. Paper over
this issue by increasing the number of buckets.
* ext2fs/inode.c (INOHSZ): Increase from 512 to 8192 entries.
---
ext2fs/inode.c | 2 +-
1 file changed, 1 inserti
* libpager/Makefile (MIGSFLAGS): Drop `-DSEQNOS'.
* libpager/priv.h (struct pager): Drop fields `seqno' and `waitingforseqno'.
* libpager/chg-compl.c: Adopt accordingly.
* libpager/data-request.c: Likewise.
* libpager/data-return.c: Likewise.
* libpager/data-unlock.c: Likewise.
* libpager/demuxer.c
* ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as
appropriate.
* ext2fs/pager.c: Likewise.
* isofs/lookup.c: Likewise.
* isofs/main.c: Likewise.
* isofs/rr.c: Likewise.
* libdiskfs/file-get-trans.c: Likewise.
* libiohelp/return-buffer.c: Likewise.
* libpager/pagemap.c: Likewise.
* lib
For reference, this patch was created using the following semantic
patch, and then manually applying the change in all functions
containing nested functions, as those are not supported by Coccinelle.
@@
expression A, B;
@@
- bzero (A, B)
+ memset (A, 0, B)
* auth/auth.c: Replace `bzero' with `me
Quoting Justus Winter (2014-12-10 12:59:43)
> Somewhat less synthetic:
>
> % bash do_pipebench.bash
> Piping 1024 MByte from zero to null.
> (dd if=zero bs=X count=overall/X | dd of=null bs=X)
> 4096 8192 12288 16384 32768 65536
> ‘libc.so.0.3’ -> ‘libc.so.586asm’
> 30.78
Justus Winter, le Wed 10 Dec 2014 17:21:57 +0100, a écrit :
> The node cache uses a fixed number of buckets giving it a linear
> access complexity, although with a small constant factor. Paper over
> this issue by increasing the number of buckets.
>
> * ext2fs/inode.c (INOHSZ): Increase from 512
Justus Winter, le Wed 10 Dec 2014 17:21:58 +0100, a écrit :
> For reference, this patch was created using the following semantic
> patch, and then manually applying the change in all functions
> containing nested functions, as those are not supported by Coccinelle.
Ack.
Justus Winter, le Wed 10 Dec 2014 17:21:59 +0100, a écrit :
> * ext2fs/inode.c: Replace `bcopy' with `memcpy' or `memmove' as
> appropriate.
> * ext2fs/pager.c: Likewise.
> * isofs/lookup.c: Likewise.
> * isofs/main.c: Likewise.
> * isofs/rr.c: Likewise.
> * libdiskfs/file-get-trans.c: Likewise.
>
Justus Winter, le Wed 10 Dec 2014 17:21:55 +0100, a écrit :
> * libpager/Makefile (MIGSFLAGS): Drop `-DSEQNOS'.
> * libpager/priv.h (struct pager): Drop fields `seqno' and `waitingforseqno'.
> * libpager/chg-compl.c: Adopt accordingly.
> * libpager/data-request.c: Likewise.
> * libpager/data-return
Justus Winter, le Wed 10 Dec 2014 17:21:56 +0100, a écrit :
> Now that we do not use sequence numbers anymore, we can simply use
> libports notification server functions.
>
> * libpager/Makefile (SRCS): Drop `no-senders.c', and `notify-stubs.c'.
> (OBJS): Drop `notifyServer.o'.
> * libpager/demuxe
Hi!
On Thu, 13 Nov 2014 15:07:11 +0100, Román wrote:
> > [Hurd talk in microkernel devroom at FOSDEM 2015]
>
> I would like a hurd talk about how to contribute. For example, how to fix a
> simple bug, create a patch... I mean the steps the developers doing when need
> to fix a bug. Or how to p
14 matches
Mail list logo