Debian bug report logs - #1670 start-stop-daemon is too slow Package: dpkg ; Reported by: Marek Michalkiewicz ; 18 days old. ----------------------------------------------------------------------- Message received at debian-bugs: From cus.cam.ac.uk!iwj10 Fri Oct 13 12:46:35 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t3q3v-000Di2C; Fri, 13 Oct 95 12:46 PDT Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA27052 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 13 Oct 1995 12:46:07 -0700 Received: by bootes.cus.cam.ac.uk (Smail-3.1.29.0 #36) id m0t3plf-000C04C; Fri, 13 Oct 95 20:27 BST Received: by chiark id (Debian /\oo/\ Smail3.1.29.1 #29.33); Fri, 13 Oct 95 20:25 BST Message-Id: Date: Fri, 13 Oct 95 20:25 BST From: Ian Jackson To: debian-bugs@pixar.com Subject: Re: Bug#1670: start-stop-daemon is too slow Marek Michalkiewicz writes ("Bug#1670: start-stop-daemon is too slow"): > Package: dpkg > Version: 1.0.0-0 > > Since start-stop-daemon is run many times during system startup, I think > it is important to make it faster and less memory-hungry (it causes quite > a lot of swapping on my home box with 4MB RAM). It would be very nice to > have a C version of start-stop-daemon. I understand, we don't have much > time left right now, but maybe at least for Release 7... > > Yeah, I know, Perl is great, but compiled C is small and fast! The speed advantage is why I converted dpkg proper from Perl to C. However, C is much slower to write than Perl (or other interpreted scripting languages). If I was going to rewrite any of the dpkg scripts it would be update-rc.d, which is really unacceptably slow at the moment. I shall put this item on the wishlist, but don't expect any movement this century. On the other hand, if you were volunteering to write good, clean C code with all the system calls error-checked and which passes the GCC flags I'm using for dpkg (-Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes) then I'd be happy to include it. I would say, though, that if you have that much time on your hands I'd rather you spent it writing a manpage for dpkg. Ian. ----------------------------------------------------------------------- Acknowledgement sent to Ian Jackson : Extra info received and forwarded. Full text available. ----------------------------------------------------------------------- Information forwarded to debian-devel@pixar.com : Bug#1670 ; Package dpkg . Full text available. ----------------------------------------------------------------------- Message received at debian-bugs: From i17linuxb.ists.pwr.wroc.pl!marekm Fri Oct 13 08:01:13 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0t3lbk-000DYZC; Fri, 13 Oct 95 08:01 PDT Received: from i17linuxb.ists.pwr.wroc.pl by pixar.com with SMTP id AA06257 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 13 Oct 1995 08:00:46 -0700 Received: (from marekm@localhost) by i17linuxb.ists.pwr.wroc.pl (8.6.12/8.6.9) id QAA02005 for debian-bugs@pixar.com; Fri, 13 Oct 1995 16:01:02 +0100 From: Marek Michalkiewicz Message-Id: <199510131501.QAA02005@i17linuxb.ists.pwr.wroc.pl> Subject: start-stop-daemon is too slow To: debian-bugs@pixar.com Date: Fri, 13 Oct 1995 16:01:00 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 454 Package: dpkg Version: 1.0.0-0 Since start-stop-daemon is run many times during system startup, I think it is important to make it faster and less memory-hungry (it causes quite a lot of swapping on my home box with 4MB RAM). It would be very nice to have a C version of start-stop-daemon. I understand, we don't have much time left right now, but maybe at least for Release 7... Yeah, I know, Perl is great, but compiled C is small and fast! Marek ----------------------------------------------------------------------- Acknowledgement sent to Marek Michalkiewicz : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#1670 ; Package dpkg . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov