Re: Uncle Sam Wants YOU!

2001-07-01 Thread Mike Harrold
Paul Mundt wrote: > > Oh please, next you'll be blaming world hunger on MS because third world > countries can't afford licenses of win2k. Absolutely. If their governments didn't have to shell out such a large amount of money on M$ licenses, they'd have more money to feed their people with...

Re: Uncle Sam Wants YOU!

2001-07-01 Thread Mike Harrold
Paul Mundt wrote: Oh please, next you'll be blaming world hunger on MS because third world countries can't afford licenses of win2k. Absolutely. If their governments didn't have to shell out such a large amount of money on M$ licenses, they'd have more money to feed their people with... ;-)

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Mike Harrold
> > Alan Cox wrote: > > > > > the boss say "If Linux makes Sybase go through the page cache on > > > reads, maybe we'll just have to switch to Solaris. That's > > > a serious performance problem." > > > > Thats something you'd have to benchmark. It depends on a very large number > > of

Re: O_DIRECT please; Sybase 12.5

2001-06-29 Thread Mike Harrold
Alan Cox wrote: the boss say If Linux makes Sybase go through the page cache on reads, maybe we'll just have to switch to Solaris. That's a serious performance problem. Thats something you'd have to benchmark. It depends on a very large number of factors including whether

Re: Controversy over dynamic linking -- how to end the panic

2001-06-21 Thread Mike Harrold
> To be honest, I disagree that #include'ing a GPL header file should force your > app to be GPL as well. That may be how the license reads, but I think it's a > very bad idea. I could write 1 million lines of original code, but if someone > told me that but simply adding #include my code is

Re: Controversy over dynamic linking -- how to end the panic

2001-06-21 Thread Mike Harrold
To be honest, I disagree that #include'ing a GPL header file should force your app to be GPL as well. That may be how the license reads, but I think it's a very bad idea. I could write 1 million lines of original code, but if someone told me that but simply adding #include stdio.h my code

Re: [OT] Threads, inelegance, and Java

2001-06-20 Thread Mike Harrold
Martin Dalecki wrote:> > Rob Landley wrote: > > > Or if you like the idea of a JIT, think about transmeta writing a code > > morphing layer that takes java bytecodes. Ditch the VM and have the > > processor do it in-cache. > > Blah blah blah. The performance of the Transmeta CPU SUCKS ROCKS.

Re: [OT] Threads, inelegance, and Java

2001-06-20 Thread Mike Harrold
Martin Dalecki wrote: Rob Landley wrote: Or if you like the idea of a JIT, think about transmeta writing a code morphing layer that takes java bytecodes. Ditch the VM and have the processor do it in-cache. Blah blah blah. The performance of the Transmeta CPU SUCKS ROCKS. No matter

Re: close()

2001-05-04 Thread Mike Harrold
formation the next time this happens... especially the "-p pid" > option. I didn't think about this. I'll give this a whirl next time. /Mike > > > Mike Harrold <[EMAIL PROTECTED]>@vger.kernel.org on 05/04/2001 07:44:53 AM > > Sent by: [EMAIL PROTECTED] >

close()

2001-05-04 Thread Mike Harrold
Hi, We have a server which runs on a machine that now runs the new 2.4 kernel. Since upgrading we've seen periods where it seems to just hang for minutes at a time (anywhere form 5 minutes to an hour). I was finally able to get a core dump of the server during one of these periods and it appears

close()

2001-05-04 Thread Mike Harrold
Hi, We have a server which runs on a machine that now runs the new 2.4 kernel. Since upgrading we've seen periods where it seems to just hang for minutes at a time (anywhere form 5 minutes to an hour). I was finally able to get a core dump of the server during one of these periods and it appears

Re: close()

2001-05-04 Thread Mike Harrold
this happens... especially the -p pid option. I didn't think about this. I'll give this a whirl next time. /Mike Mike Harrold [EMAIL PROTECTED]@vger.kernel.org on 05/04/2001 07:44:53 AM Sent by: [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: close() Hi, We have

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Mike Harrold
> The reason is that the Linux 2.4 kernel no longer reclaims swap > space on swapin (2.2 reclaimed swap space on write access, which > lead to fragmented swap space in lots of workloads). > > This means that a lot of memory ends up "duplicated" in RAM and > in swap. > > I plan on doing some

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Mike Harrold
The reason is that the Linux 2.4 kernel no longer reclaims swap space on swapin (2.2 reclaimed swap space on write access, which lead to fragmented swap space in lots of workloads). This means that a lot of memory ends up "duplicated" in RAM and in swap. I plan on doing some code to

Re: Dumping memory of a running process?

2001-03-13 Thread Mike Harrold
> > Is there a way to dump the memory of any process without stopping, or > modifying it? > > Obviously normally stopping it would be the right thing to do, but > is it possible, and if so, is there a handy tool? fork() and raise(SIGABRT) in the child does the trick. Of course this only works

Re: Dumping memory of a running process?

2001-03-13 Thread Mike Harrold
Is there a way to dump the memory of any process without stopping, or modifying it? Obviously normally stopping it would be the right thing to do, but is it possible, and if so, is there a handy tool? fork() and raise(SIGABRT) in the child does the trick. Of course this only works if

Re: [LK] Re: lkml subject line

2001-02-15 Thread Mike Harrold
> > if you use an MUA that can't do filtering, well then there's something > wrong with you I really don't believe there is any need for this kind of attitude. /Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [LK] Re: lkml subject line

2001-02-15 Thread Mike Harrold
if you use an MUA that can't do filtering, well then there's something wrong with you I really don't believe there is any need for this kind of attitude. /Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [LK] Re: lkml subject line

2001-02-13 Thread Mike Harrold
> > On Mon, 12 Feb 2001, Mike Harrold wrote: > > >> Those would all be your problems and I would suggest using a different account > >> for mail then. > > > >Out of interest, how would that solve anything? So I use an ISP instead. > >Then I have to

Re: [LK] Re: lkml subject line

2001-02-13 Thread Mike Harrold
On Mon, 12 Feb 2001, Mike Harrold wrote: Those would all be your problems and I would suggest using a different account for mail then. Out of interest, how would that solve anything? So I use an ISP instead. Then I have to download all my mail to home to read it. Talk about a total

[LK] Re: lkml subject line

2001-02-12 Thread Mike Harrold
> > On 2001-02-12T11:56:00, >Mike Harrold <[EMAIL PROTECTED]> said: > > > Maybe I don't *want* the LKML messages in a seperate folder. > > Maybe I just want to identify them at a pinch in my inbox? > > You can use procmail to modify the subject line o

Re: lkml subject line

2001-02-12 Thread Mike Harrold
> > On Mon, 12 Feb 2001 10:25:47 -0500 (EST) > Mike Harrold <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] said: > > > The advantages can all be gained without that disadvantage by just > > learning > > > to filter mail on other headers ins

Re: lkml subject line

2001-02-12 Thread Mike Harrold
> > > [EMAIL PROTECTED] said: > > There are advantages: distinguish personal messages from mailing list > > messages, and distinguish between different mailing lists. And > > disadvantages - maybe only one: sacrificing valuable Subject: line > > space. > > The advantages can all be gained

Re: lkml subject line

2001-02-12 Thread Mike Harrold
[EMAIL PROTECTED] said: There are advantages: distinguish personal messages from mailing list messages, and distinguish between different mailing lists. And disadvantages - maybe only one: sacrificing valuable Subject: line space. The advantages can all be gained without that

Re: lkml subject line

2001-02-12 Thread Mike Harrold
On Mon, 12 Feb 2001 10:25:47 -0500 (EST) Mike Harrold [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] said: The advantages can all be gained without that disadvantage by just learning to filter mail on other headers instead of the subject line. Assuming your mail reader can do

[LK] Re: lkml subject line

2001-02-12 Thread Mike Harrold
On 2001-02-12T11:56:00, Mike Harrold [EMAIL PROTECTED] said: Maybe I don't *want* the LKML messages in a seperate folder. Maybe I just want to identify them at a pinch in my inbox? You can use procmail to modify the subject line of incoming mail too. Maybe my employer doesn't

Re: spelling of disc (disk) in /devfs

2001-02-01 Thread Mike Harrold
> > > > To confuse things even more, I have a "Hewlett-Packard 9114 Disc Drive," which > is really a 720K 3.5-inch diskette drive. > > Wayne My understanding (going back to the 80s) is that the correct term is disc. "disk" is short for diskette. (discette would be pronounced as "dissect"

Re: spelling of disc (disk) in /devfs

2001-02-01 Thread Mike Harrold
To confuse things even more, I have a "Hewlett-Packard 9114 Disc Drive," which is really a 720K 3.5-inch diskette drive. Wayne My understanding (going back to the 80s) is that the correct term is disc. "disk" is short for diskette. (discette would be pronounced as "dissect" (think

Re: [OT?] Coding Style

2001-01-23 Thread Mike Harrold
> > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > --_=_NextPart_001_01C08552.FFC336D0 > Content-Type: text/plain; > charset="ISO-8859-1" > > I prefer descriptive variable and function

Re: [OT?] Coding Style

2001-01-23 Thread Mike Harrold
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_001_01C08552.FFC336D0 Content-Type: text/plain; charset="ISO-8859-1" I prefer descriptive variable and function names - like

Re: [OT?] Coding Style

2001-01-22 Thread Mike Harrold
> > > -Original Message- > > From: profmakx.fmp [mailto:[EMAIL PROTECTED]] > > > > So, every good programmer > > should know where to put comments. And it is unnecessary to > > put comments to > > explain what code does. One should see this as stated in the > > CodingStyle doc. > >

Re: [OT?] Coding Style

2001-01-22 Thread Mike Harrold
-Original Message- From: profmakx.fmp [mailto:[EMAIL PROTECTED]] So, every good programmer should know where to put comments. And it is unnecessary to put comments to explain what code does. One should see this as stated in the CodingStyle doc. Ok, there are points

Re: * 4 converted to << 2 for networking code

2001-01-10 Thread Mike Harrold
> > On Wed, Jan 10, 2001 at 06:03:22PM +0100, antirez wrote: > > On Wed, Jan 10, 2001 at 09:54:04AM -0500, Brian Gerst wrote: > > > This patch isn't really necessary, because GCC will automatically > > > convert multiplications and divisions by powers of two to use shifts. > > > > Sure, but

Re: * 4 converted to 2 for networking code

2001-01-10 Thread Mike Harrold
On Wed, Jan 10, 2001 at 06:03:22PM +0100, antirez wrote: On Wed, Jan 10, 2001 at 09:54:04AM -0500, Brian Gerst wrote: This patch isn't really necessary, because GCC will automatically convert multiplications and divisions by powers of two to use shifts. Sure, but since many 2