Re: Snowhite and the Seven Dwarfs - The REAL story!

2001-01-30 Thread Patryk Zadarnowski
a creative, intelligent creature, doesn't it? ;) Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk ZadarnowskiUniversity of New South Wales [EMAIL PROTECTED] School of Computer Science and E

Re: Snowhite and the Seven Dwarfs - The REAL story!

2001-01-29 Thread Patryk Zadarnowski
be stripped from freebsd-hackers mail. I believe it is still a very good idea, and patches tend to be posted as text anyway. Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk ZadarnowskiUniversity of New South Wales [EMAIL PROTECTED

Re: Silent FreeBSD

2000-12-27 Thread Patryk Zadarnowski
s: they're quiet. 4. get used to the noise. I have three computers running 24/7 in my bedroom, and after some swapping of power supplies, the noise is perfectly bearable. Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk Z

Re: kernel type

2000-12-16 Thread Patryk Zadarnowski
On Sun, 17 Dec 2000, Tony Finch [EMAIL PROTECTED] wrote: Patryk Zadarnowski [EMAIL PROTECTED] wrote: Now that I think of it, there aren't many commercial microkernel systems out there with the possible exception of QNX and lots of little embedded toys. Mac OS X is based on Mach. Oh

Re: kernel type

2000-12-15 Thread Patryk Zadarnowski
ly another reasonably-well structured kernel. With 300+ system calls in the nucleus, the NT kernel handles just about everything except for major GUI tasks. Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk ZadarnowskiUniversity of New S

Re: ANSI C Standard and wchar*

2000-07-31 Thread Patryk Zadarnowski
if I'm wrong.) Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk ZadarnowskiUniversity of New South Wales [EMAIL PROTECTED] School of Computer Science and Engineering -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Re: Is traditional unixes kernel really stable ?

2000-04-07 Thread Patryk Zadarnowski
explain me why such approach is not taken by FreeBSD? Yes. FreeBSD is based on the BSD monolithic kernel. It's precisely the ``other camp'' to the u-kernel guys (like myself.) Hence the ``BSD'' in its name. ;) Pat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Re: Unicode on FreeBSD

2000-04-05 Thread Patryk Zadarnowski
ge doesn't deserve standarising, I don't know what does. Pat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk ZadarnowskiUniversity of New South Wales [EMAIL PROTECTED]

Re: Unicode on FreeBSD

2000-04-04 Thread Patryk Zadarnowski
I will use it. Currently, if you have a group of ISO 8859-2 users on the system , the ISO 8859-1 people see them as meaningless junk. I don't even want to think about something like Arabic. Pat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk Z

Re: Whatever happened to TenDRA?

2000-03-26 Thread Patryk Zadarnowski
/. Hope it's of some help. Pat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk ZadarnowskiUniversity of New South Wales [EMAIL PROTECTED] School of Computer Science and Engineering

Re: Why not gzip iso images?

2000-03-15 Thread Patryk Zadarnowski
uncompressed iso images. 99.99% of those who'd benefit from the compression would never consider downloading them anyway, and 99.99% of those who are going to use these images will find .gz a pain. Pat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk Zadarnowski

Re: 5.0 features?

2000-03-12 Thread Patryk Zadarnowski
tion? Pat. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Patryk Zadarnowski [EMAIL PROTECTED] University of New South Wales -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: 64bit OS?

2000-02-20 Thread Patryk Zadarnowski
On Sun, 20 Feb 2000, Patryk Zadarnowski wrote: On Sun, Feb 20, 2000 at 12:42:14PM +1100, Patryk Zadarnowski wrote: One more thing about GPTs (I thought I'll leave that till last. ;) Jochen Liedtke holds a German patent on them, although he will probably be fairly easily

Re: 64bit OS?

2000-02-19 Thread Patryk Zadarnowski
:Kevin Elphinstone did a PhD thesis on TLB structures for 64 bit address spaces :and it turns out that hash tables perform quite poorly. I'd suggest GPTs :instead, or maybe LPCtrie that Chris Szmajda has been working on here at UNSW. :Both have the advantage of supporting multiple page sizes

Re: 64bit OS?

2000-02-19 Thread Patryk Zadarnowski
On Sun, Feb 20, 2000 at 01:48:49PM +1100, Patryk Zadarnowski wrote: It looks like the hardware has to implement GPTs and know how to walk them. How can FreeBSD use them without hardware support ? No it doesn't. We've got software GPT implementations for both MIPS64 and Alpha

Re: 64bit OS?

2000-02-18 Thread Patryk Zadarnowski
You're being just plain silly. It takes about 5 minutes with the manuals to realize just how little AXP and IA-64 have in common: one is a classic superscalar out-of-order design, the other is just about the opposite: a typical explicit-ILP architecture. What makes IA-64 great is the

Re: 64bit OS?

2000-02-18 Thread Patryk Zadarnowski
:... :and Linux essentially treats hardware page tables as TLBs. : :The problem with the above approach is duplication of information between :Linux page tables and hardware page tables and inefficient use of memory :for page tables. : :I think OSes like FreeBSD which don't have a concept

Re: 64bit OS?

2000-02-17 Thread Patryk Zadarnowski
Just read this article: http://www.zdnet.com/zdnn/stories/news/0,4586,2440002,00.html Which leads to my potentially ignorant question: Where is FreeBSD w/regards to running on the Itanium (or other 64bit chips)? Considering the fact that Intel released the IA-64 OS info only on the

Re: 64bit OS?

2000-02-17 Thread Patryk Zadarnowski
Patryk Zadarnowski wrote: FreeBSD when that happens. In the meantime, the only alternative would be to convince Intel to give someone their IA-64 SimOS, but there's an extermely slim chance of that happening (from talking to someone on the IA-64 team.) An alternative to IA-64

Re: 64bit OS?

2000-02-17 Thread Patryk Zadarnowski
Which leads to my potentially ignorant question: Where is FreeBSD w/regards to running on the Itanium (or other 64bit chips)? Waiting for somebody at Intel to give us either hardware or simulator time. Without either of those things, "working on" Itanium support is a pretty

Re: 64bit OS?

2000-02-17 Thread Patryk Zadarnowski
"I could have had a PA-8600!"? Today, and not at some vague point in the future? That sort-of misses the point, as I'm taking a research OS perspective, where IA-64 is trully unique in terms of versitality and a well thought-through design (especially when it comes to SASOS support!)

Re: 64bit OS?

2000-02-17 Thread Patryk Zadarnowski
What can one say to that, apart from "I have one right here and it works just fine" - not something you can say about the IA-64. 8) I'll just reach down and pat my trusty pair of manufactured-in-1993 Alpha 3000's on their heads... :) Oh, forgot... It's not new until Intel does

Re: Concept check: iothreads addition to pthreads for MYSQL+FreeBSD.

2000-01-10 Thread Patryk Zadarnowski
Recently I was tasked to find a way to scale up our MYSQL server, running MYSQL3.22.15 on FreeBSD3.3. I've been testing a hardware RAID solution, and found that with 6 disks in a RAID5 configuration, the system was only perhaps 30% faster than when running on a single disk. [The 6 disks in

Re: [OFFTOPIC] alt. C compiler

2000-01-04 Thread Patryk Zadarnowski
Hi, is there any alternative (non-commercial) C compiler to use, or is gcc the best? I have just upgraded my system to -current w/egcs 2.95.2 and I have several problems with it, especially when using optimizations (-O2 and such) ok I know there's the good old gcc 2.7.2.3 but a good

Re: [OFFTOPIC] alt. C compiler

2000-01-04 Thread Patryk Zadarnowski
On Wed, 5 Jan 2000, Patryk Zadarnowski wrote: Hi, is there any alternative (non-commercial) C compiler to use, or is gcc the best? I have just upgraded my system to -current w/egcs 2.95.2 and I have several problems with it, especially when using optimizations (-O2

Re: Limitations in FreeBSD

1999-10-29 Thread Patryk Zadarnowski
In the last episode (Oct 29), Lars Gerhard Kuehl said: Think about it for a second. How big is a pointer? The Intel architecture still supports segmented memory, so the effective maximum pointer size is 48 bit. The extra 16 bits of the segment don't actually contribute to the address

Re: updating packages automatically...

1999-09-25 Thread Patryk Zadarnowski
On Sat, 25 Sep 1999, Chris Costello wrote: Aah! No! I tried that with GNOME once and it drove me insane for about two weeks. Auto-upgrades on ports would be _very_ _very_ bad, especially for those using apache from ports! that's right. i thought about having some kind of

Re: style question

1999-09-17 Thread Patryk Zadarnowski
I'm looking at cleaning up a few compile nits and I'm wondering what the officially approved way of silencing "may not be used" warnings: int foo(int flag) { int j; if (flag) j = 1; /* * This noop statement is enough to confuse

Re: style question

1999-09-17 Thread Patryk Zadarnowski
I'm looking at cleaning up a few compile nits and I'm wondering what the officially approved way of silencing may not be used warnings: int foo(int flag) { int j; if (flag) j = 1; /* * This noop statement is enough to confuse the

Re: Intel Merced FreeBSD???

1999-08-27 Thread Patryk Zadarnowski
On Fri, Aug 27, 1999 at 08:45:31PM -0400, Sergey Babkin wrote: Thomas David Rivers wrote: Microsoft needs a "business quality" version of Windows, which it claims is Windows/2000. That version of Windows could benefit from a 64-bit port, if for marketing only; but I don't

Re: Intel Merced FreeBSD???

1999-08-27 Thread Patryk Zadarnowski
On Fri, Aug 27, 1999 at 08:45:31PM -0400, Sergey Babkin wrote: Thomas David Rivers wrote: Microsoft needs a business quality version of Windows, which it claims is Windows/2000. That version of Windows could benefit from a 64-bit port, if for marketing only; but I don't

Re: from number to power of two

1999-08-21 Thread Patryk Zadarnowski
Does anyone know an inexpensive algorithm (O(1)) to go from an number to the next (lower or higher) power of two. 1 - 1 2,3 - 2 4,5,6,7 - 4 8,9,10,11,12,13,14,15 - 8 etc. So %1101 should become either %1 or %1000. The

Re: from number to power of two

1999-08-21 Thread Patryk Zadarnowski
Does anyone know an inexpensive algorithm (O(1)) to go from an number to the next (lower or higher) power of two. 1 - 1 2,3 - 2 4,5,6,7 - 4 8,9,10,11,12,13,14,15 - 8 etc. So %1101 should become either %1 or %1000. The

Re: quad_t and portability

1999-08-07 Thread Patryk Zadarnowski
In message pine.bsf.4.10.9908070138180.9444-100...@janus.syracuse.net Brian F. Feldman writes: : You can always use off_t with %qd, (int64_t)foo. But that isn't portbale. %qd is a bsdism. %lld and %llu are the latest C standards way to say that. If you're that fixed on portability,

Re: quad_t and portability

1999-08-06 Thread Patryk Zadarnowski
In message [EMAIL PROTECTED] "Brian F. Feldman" writes: : You can always use off_t with "%qd", (int64_t)foo. But that isn't portbale. %qd is a bsdism. %lld and %llu are the latest C standards way to say that. If you're that fixed on portability, "%lux%08ulx", (long)foo32, (long)foo

Re: Swap overcommit

1999-07-16 Thread Patryk Zadarnowski
At 9:52 PM -0700 7/15/99, Matthew Dillon wrote: : ... How many programmers bother to even *clear* errno before : making these calls (since some system calls do not set errno : : if it already non-zero). Virtually

Re: Bursting at the seams (was: Heh heh, humorous lockup)

1999-07-08 Thread Patryk Zadarnowski
[EMAIL PROTECTED] (Julian Elischer) writes: we already use the gs register for SMP now.. what about the fs register? I vaguely remember that the different segments could be used to achieve this (%fs points to user space or something) You can't extend the address space that way,

Re: Bursting at the seams (was: Heh heh, humorous lockup)

1999-07-08 Thread Patryk Zadarnowski
jul...@whistle.com (Julian Elischer) writes: we already use the gs register for SMP now.. what about the fs register? I vaguely remember that the different segments could be used to achieve this (%fs points to user space or something) You can't extend the address space that way,

Re: Bursting at the seams (was: Heh heh, humorous lockup)

1999-07-07 Thread Patryk Zadarnowski
Why not put the kernel in a different address space? IIRC there's no absolute requirement for the kernel and userland to be in the same address space, and that way we would have 4 GB for each. Wouldn't that make system calls that need to share data between kernel and user spaces hopelessly

Re: Bursting at the seams (was: Heh heh, humorous lockup)

1999-07-07 Thread Patryk Zadarnowski
we already use the gs register for SMP now.. what about the fs register? I vaguely remember that the different segments could be used to achieve this (%fs points to user space or something) ... as I've suggested a few days ago, and was told to shut up with a (rather irrelevant) reference

Re: support for i386 hardware debug watch points

1999-07-04 Thread Patryk Zadarnowski
I've got some prototype code in place which supports the context switching part of this. It's pretty simple right now, as I'm trying to keep changes to a minimum. What I've done is simply added the dr0-dr3,dr6,dr7 registers to 'struct pcb' in /usr/src/sys/i386/include/pcb.h. In

Re: environment strings

1999-06-28 Thread Patryk Zadarnowski
I know about envp. What I want to know is the exact position of these variables on the stack. and if anywhere I can find some data, on the exact compisoition of the stcak, then it will be very helpful. references of books and websites wil be most helpful. Basically, i386 BSD kernels

Re: environment strings

1999-06-28 Thread Patryk Zadarnowski
I wanted t know where the environment strings i bsd were stored after a program execs another one. extern char **environ; At the top of memory. You can access them by the standard (but undocumented) method: int main (int argc, char *argv [], char *envp []) envp is a pointer to the

Re: environment strings

1999-06-28 Thread Patryk Zadarnowski
This is of course correct except for the `undocumented' claim. The `envp' has been documented as the third argument to main() since the Pharaons (well, not quite ;). Apparently ATT UNIX even has a (documented) five-parameter main(). This is news to me. Can you point to the

Re: environment strings

1999-06-28 Thread Patryk Zadarnowski
I know about envp. What I want to know is the exact position of these variables on the stack. and if anywhere I can find some data, on the exact compisoition of the stcak, then it will be very helpful. references of books and websites wil be most helpful. Basically, i386 BSD kernels