FreeBSD support - tested on 7.0-CURRENT/amd64.
Should apply cleanly to tbb20_20070815oss_src.tar.gz.
Signed-off-by: Arun Sharma <[EMAIL PROTECTED]>
diff -r 627751b671bb -r ac2c116b7cee build/common.inc
--- a/build/common.inc Sat Sep 29 16:18:03 2007 -0700
+++ b/build/common.inc Sat Sep
On 9/29/07, Mike Meyer <[EMAIL PROTECTED]> wrote:
>
> Any chance of getting this packaged as a FreeBSD port, which can apply
> the patch until it gets rolled into the distributed tarball? I don't
> see a TBB port.
I just send-pr'ed it. You can also get it from:
http://www.sharma-home.net/people/a
On Wed, Aug 04, 1999 at 01:20:59PM +0200, Dag-Erling Smorgrav wrote:
> "Kelly Yancey" writes:
> > [...]
>
> Which reminds me - has anyone thought of using DMA for zeroing pages,
> to avoid cache invalidation? The idea is to keep a chunk of zeroes on
> disk and DMA it into memory instead of cleari
Taking a quick look at /usr/src/sys/i386:
find . -name *.s | xargs wc -l
44 ./svr4/svr4_locore.s
216 ./apm/apm_setup.s
24 ./linux/linux_locore.s
461 ./isa/apic_ipl.s
1057 ./isa/apic_vector.s
168 ./isa/icu_ipl.s
224 ./isa/icu_vector.s
387 ./isa/ipl.s
11
Does anyone have a copy of Andrew McRae's Usenix 93 paper ?
The URL: ftp://ftp.cisco.com/amcrae/hardprof.PS doesn't
seem to be valid any more.
Thanks!
-Arun
To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message
On Thu, Aug 12, 1999 at 12:02:19PM +0100, Tony Finch wrote:
> Matthew Dillon wrote:
> >
> >One solution would be to map clean R+W pages RO and force a write fault
> >to occur, allowing the system to recognize that there are too many dirty
> >pages in vm_fault before it is too late and
On Fri, Aug 13, 1999 at 03:04:43PM +0930, Mark Newton wrote:
> Arun Sharma wrote:
>
> > The second alternative - to mark system daemons as special
> > sounds much more attractive.
>
> Ok, now define the difference between "system daemons" and any other
> d
On Thu, Sep 16, 1999 at 12:25:52PM +, greg wrote:
> Can anybody point me to a paper, mailing list discussion, etc. that discusses
> scheduling processes to not thrash the cpu caches? Or if there's anything in
> place, how I can take advantage of it, etc. I got stumped on the idea
> a while
Going through the 4.4 BSD book, I learnt that the purpose of the pv_table
is to be able to locate all the mappings to a given physical page.
However, comparing this to the Linux approach, which chains vm_area_struct
(analogous to vm_map_entry in FreeBSD) together to locate the shared
mappings, it
On Wed, Jun 02, 1999 at 11:16:32AM -0700, Jason Thorpe wrote:
> On Tue, 1 Jun 1999 18:08:35 -0700
> Arun Sharma wrote:
>
> > Going through the 4.4 BSD book, I learnt that the purpose of the pv_table
> > is to be able to locate all the mappings to a given physical pag
Brian Feldman writes:
> In the long-standing tradition of deadlocks, I present to you all
> a new one. This one locks in getblk, and causes other processes to
> lock in inode. It's easy to induce, but I have no idea how I'd go
> about fixing it myself (being very new to that part of the
>
Christoph Kukulies writes:
Comments from someone who's studied Linux for a while and has started
studying FreeBSD only recently.
> Could one say that Linux vs. FreeBSD kernels are conceptually
> different what task scheduling, queueing, interrupt handling,
> driver architecture, buffer caching,
"David E. Cross" writes:
> Looking through the exception.s it appears that on entry to the
> kernel an MP lock is obtained... I thought we had splX(); to
> protect concurancy in the kernel.
Can someone explain to me why is SYSCALL_LOCK necessary ? It certainly
seems to hurt system call performa
Aaron Smith writes:
> I'm still trying to figure out the deal with "lockmgr".
I found the following doc useful:
http://www.freebsd.org/~fsmp/SMP/Locking.html
-Arun
To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message
"Christopher R. Bowman" writes:
>
> I can't speak authoritatively since I don't know specifically what
> SYSCALL_LOCK is, but if it is what is often referred to on this list
> as the Giant Kernel Lock(tm) then the following should generally
> apply.
>
You're right. The SYSCALL_LOCK is the same
"John S. Dyson" writes:
> Finegrained locking either requires developers with IQ's of 200 or higher,
> or a different kernel structure. I suggest that finegrained locking is cool,
> and can be intelligently used to mitigate (but not solve) the effects of
> lots of problems
Fine grained locking
Brian Feldman writes:
> > One way of tackling the problem is - to implement per lock profiling
> > and detect which locks are being contested heavily and try breaking
> > them down. That would be a practical way of doing things.
>
> But you can't generalize FreeBSD's usage, can you?
>
While i
"James E. Housley" writes:
> Just for my infomation. What is the difference between "Inactive" and
> "Free" memory. Right now top says I have 157M Inact and 3260K Free.
Inactive means the page contains valid data belonging to some file,
but is not mapped into any address space. Free means, the
While we're on the init topic, is there any strong feeling here about
BSD /etc/rc* scripts Vs SysV ? The nice thing about SysV initscripts
is the ability to start and stop any service that I like.
-Arun
To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers
Mark Newton writes:
> Arun Sharma wrote:
>
> > While we're on the init topic, is there any strong feeling here about
> > BSD /etc/rc* scripts Vs SysV ? The nice thing about SysV initscripts
> > is the ability to start and stop any service that I like.
>
&g
On Thu, Jun 24, 1999 at 10:56:07PM -0700, Julian Elischer wrote:
> Alan Cox has just started passing around some code that starts on the
> breakdown of the GKL
>
> I suggest that all intersted parties go to the SMP list
> if they wish to take part in this action.
You mean freebsd-...@freebsd.org
Vasudha Ramnath writes:
>
> I'm running FreeBSD 3.1-RELEASE.
>
> Could someone explain what the poll() function in a device driver should
> do ?
>
> Can it return POLLERR or POLLHUP ?
>
> I have a test driver that returns these values from the poll() function.
> However, the application
> tha
On 26 Feb 2001 18:56:18 +0100, Matt Dillon <[EMAIL PROTECTED]> wrote:
> Ha. Right. Go through any piece of significant code and just see how
> much goes flying out the window because the code wants to simply assume
> things work. Then try coding conditionals all the way through to f
On Tue, Feb 27, 2001 at 10:39:13PM -0800, Julian Elischer wrote:
> no, something specifically designed around kernel type of actions.
> declarations of "physical pointer", "kvm pointer" "User Pointer"
> for example, and being able to declare a structure (not 'struct')
> and say "this list is 'per
Doesn't allow me to attach a diff. The attached diff adds that capability
to the HTML, but more changes will be needed to the CGI script that
handles the form.
If someone can point me to the CGI source, I can change that too.
-Arun
--- send-pr.html.orig Sat May 5 23:11:00 2001
+++
http://www.suse.de/~bastian/Export/linking.txt
Has anyone done a comparative study ?
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Ran into this on freshmeat today:
http://oss.software.ibm.com/developerworks/opensource/pthreads/
Why isn't the FreeBSD equivalent happening on a public cvs
branch ? I'm not demanding that it should happen that way,
just curious about the reasons :)
-Arun
To Unsubscribe: send mail to [
>
> In the last episode (May 16), Arun Sharma said:
> > Ran into this on freshmeat today:
> >
> > http://oss.software.ibm.com/developerworks/opensource/pthreads/
> >
For those interested, it took me about an hour to write up
pth_native_freebsd.c (ht
I see some changes to -current as of Jan 2001, that attempt to make libc
threadsafe without -pthread and _THREAD_SAFE.
http://groups.google.com/groups?q=Daniel+Eischen&hl=en&lr=&safe=off&scoring=d&as_drrb=b&as_mind=1&as_minm=1&as_miny=2001&as_maxd=20&;
as_maxm=1&as_maxy=2001&rnum=4&ic=1&selm=94a
Single UNIX spec doesn't include the above sysconf(3) argument, but
many UNIX variants do. What's the BSD way of doing this ?
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Sun, May 20, 2001 at 08:05:19AM -0400, Bill Abt wrote:
> Yeah, your right about slot. It should be allocated off the heap... Hmm,
> that would probably explain a few inconsistencies we've seen as well.
> Thanks
>
> As far as incorporating your changes into the release, sure!!! Another
>
On Sun, May 20, 2001 at 04:57:17PM -0400, Andrew Gallatin wrote:
>
> Arun Sharma writes:
> > Single UNIX spec doesn't include the above sysconf(3) argument, but
> > many UNIX variants do. What's the BSD way of doing this ?
>
> How about the hw.ncpu
On Sun, May 20, 2001 at 01:56:55PM -0700, Arun Sharma wrote:
> On Sun, May 20, 2001 at 04:57:17PM -0400, Andrew Gallatin wrote:
> >
> > Arun Sharma writes:
> > > Single UNIX spec doesn't include the above sysconf(3) argument, but
> > > many UNIX variant
On 29 May 2001 00:46:42 +0200, Poul-Henning Kamp <[EMAIL PROTECTED]> wrote:
>
> It seems that my little plot of our abysmal performance when it comes
> to our PR database actually helped spur some activity, at least the
> end of the graph points in the right direction now.
>
> But we are far fro
KWireless is a KDE kicker applet to display the signal qualtiy of a IEEE
802.11b wireless network.
http://www.sharma-home.net/~adsharma/projects/KWireless/
It depends on libwi, a library version of wicontrol(8).
http://www.sharma-home.net/~adsharma/projects/libwi/
I know this is not in a commi
On Mon, Jun 25, 2001 at 03:37:00PM +0100, Doug Rabson wrote:
> I can't configure it. It doesn't contain a configure script and autoconf
> doesn't seem to like the (possible misnamed?) configure.in.in file. This
> is from 4.3-stable with autoconf-2.13_1.
Try
$ gmake -f Makefile.dist
$ cat ~/bin/
http://freshmeat.net/projects/ngpt
http://www.sharma-home.net/~adsharma/projects/freebsd/ngpt-1.0.0-freebsd.tar.gz
Notes:
- The project has gotten more Linux specific since the last port (0.9.4)
There are a lot of ugly hacks that need cleanup.
- Please commit 27489 to help this port
- There we
On Fri, Jun 29, 2001 at 09:05:25AM -0600, Nate Williams wrote:
> With the current license, this won't be installed as part of the base
> kernel. (GPL and/or LGPL)
I understand it'll continue to be a port. Am I hearing that it is
unacceptable even as a temporary solution because of the license ?
On Wed, 21 Jun 2000 23:42:37 -0700 (PDT), Nicole Harrington. <[EMAIL PROTECTED]>
wrote:
>
> Hello
> I have a user who needs to store a large amount of small html files. Like
> around 2 million...
>
> Assuming FreeBSD 4.0-Stable with Soft Updates, what is a sane number that can
> be handled p
[This message has also been posted.]
On Mon, 26 Jun 2000 10:42:35 +0100, Koster, K.J. <[EMAIL PROTECTED]> wrote:
> >
> > > > currently -> candidate
> > > > PQ_HUGECACHE PQ_CACHE1024
> > > > PQ_LARGECACHE PQ_CACHE512
> > > > PQ_MEDIUMCACHEPQ_CACHE256
> > > > PQ_NO
On Mon, Jun 26, 2000 at 12:50:41PM -0400, Kenneth Wayne Culver wrote:
> Just curious because I have no experience in this area... but what exactly
> does cache coloring get us... I've never actually gotten a really straight
> answer on this... Thanks
Read Curt Schimmel's book UNIX systems for mod
Greetings. I'm trying to port an application to FreeBSD. I have
a signal handler registered using signal(2). It modifies the
data pointed to by the third argument - of type sigcontext (specifically
sc_eip) - so that the execution would resume at a different point).
However, when execution resumes
On Sat, Jul 21, 2001 at 07:17:47PM -0700, Arun Sharma wrote:
> Greetings. I'm trying to port an application to FreeBSD. I have
> a signal handler registered using signal(2). It modifies the
> data pointed to by the third argument - of type sigcontext (specifically
> sc_e
I'm porting a BSD licensed Java VM from Linux to FreeBSD and ran into
the following Linux function which is not implemented in BSDs.
To avoid GPL contamination issues, can someone complete[1] the following
method in inlined IA-32 assembly ? Intel instruction reference documents
an instruction cal
On Thu, Jul 26, 2001 at 11:15:40PM +0200, Bernd Walter wrote:
> > static __inline__ int test_and_set_bit(int nr, volatile void * addr);
>
> -current has a lot of atomic functions in src/sys/i386/include/atomic.h.
It has byte, word, int, long level operations - what I want is bit
level.
On Thu, Jul 26, 2001 at 02:43:24PM -0700, John Baldwin wrote:
> {
> int val;
>
> do {
> val = *(int *)addr;
> } while (atomic_cmpset_int(addr, val, val | (1 << nr) == 0);
> return (val & (1 << nr));
> }
Thanks! I think that'd work. But code using B
On Thu, Jul 26, 2001 at 11:59:27PM +0200, Bernd Walter wrote:
> [...]
> ATOMIC_ASM(set, char, "orb %b2,%0", v)
> ATOMIC_ASM(clear,char, "andb %b2,%0", ~v)
> [...]
That does set, not test-and-set. What I want is exactly what the Intel
BTS instruction does: atomically test and set a bi
On Thu, Jul 26, 2001 at 03:49:58PM -0700, John Baldwin wrote:
> > That does set, not test-and-set. What I want is exactly what the Intel
> > BTS instruction does: atomically test and set a bit.
>
> Unfortunately that is very ia32 specific. The code would be more
> friendly on alpha and ia64 at l
On Sun, Jul 22, 2001 at 10:50:01AM -0400, Daniel Eischen wrote:
Dan,
I tried this patch against 4.3-STABLE (had to substitute
_get_curthread() with _thread_run), without success. After
the sigreturn, EIP remains the same.
Should I be testing against -current ?
-Arun
> Try this patch:
On Sun, Jul 29, 2001 at 09:48:30AM -0400, Daniel Eischen wrote:
> Can you breakpoint or add a print statement to see if the thread
> chosen to handle the signal is the current thread (_thread_run
> == thread) in the patched section below?
Yes, the following condition was true according to my prin
I just ported over my old patches to truss to -current that
I first posted here in May 2000:
http://groups.google.com/groups?hl=en&safe=off&threadm=fa.g3c7itv.5imipd%40ifi.uio.no&rnum=1&prev=/groups%3Fas_q%3Dtruss%26as_uauthors%3DArun%2520Sharma
The new patch is here:
http://www.sharma-home.ne
Can someone take a look at this PR ?
http://www.freebsd.org/cgi/query-pr.cgi?pr=30317
It's necessary to fix compilation issues for a POSIX compliant Java VM,
that uses sockets.
There are similar open bug reports against NetBSD too, without any
comments on why this change can not be made.
Added spinlock support, so that libc functions are reentrant.
This is based on the Aug 3 release from the NGPT project.
http://www.freebsd.org/cgi/query-pr.cgi?pr=30599
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Wed, 17 Oct 2001 02:02:07 + (UTC), Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote:
> Jim Pirzyk <[EMAIL PROTECTED]> writes:
> > So which should I use? Why is there two around? I see that truss has
> > less command line switches than ktrace, but it is a little bit more
> > standard.
>
> -
Hello,
I'm trying to figure out why recent -current snapshots hang at boot/install
time on my Thinkpad. The problem is, at the point where it hangs, I
don't know exactly which driver it's in (yes, I have boot_verbose turned
on).
So my question is, is there a simple tool to list the order in which
Terry Lambert wrote:
Arun Sharma wrote:
So my question is, is there a simple tool to list the order in which
various initialization/probe routines get called in mi_startup ? If not,
what would it take to write one ?
more /sys/sys/kernel.h
Yes, I'm aware of this one, but it doesn'
On Sun, Jan 19, 2003 at 04:57:13AM -0800, Terry Lambert wrote:
> You will get the information you seem to be asking for (unless I'm
> misunderstanding you, and you are trying to lead upo asking for a
> string identifier, and for some reason you don't want to come out
> and ask for a modification of
Having just spent 5 hours debugging a silent hang in EISA bus probe
(even with boot -v) I'm tempted to ask, why doesn't
device_probe_and_attach explicitly announce the device it's going to
probe if bootverbose is set ?
Thought I'd ask here before I submit a PR.
-Arun
BTW: There seem to b
On Sun, Jan 19, 2003 at 10:45:02PM -0800, Terry Lambert wrote:
>
> SYSINIT would at least get you to where it's hanging, and you
> may not need information over and above that, FWIW.
Well, knowing that the kernel hangs in a function called "configure"
(SI_SUB_CONFIGURE, SI_ORDER_THIRD) isn't terr
On Mon, Jan 20, 2003 at 08:33:09AM -0800, Bruce A. Mah wrote:
>
> PS. I personally ignore the severity and priority fields of PRs. The
> importance of many PRs I've dealt with is very much inflated.
>
Perhaps you should change the severity field to a lower level then ? Or
is there a different
>Submitter-Id: current-users
>Originator: Arun Sharma
>Organization:
>Confidential: no
>Synopsis: device probing not verbose when using boot -v
>Severity:
>Priority:
>Category: kern
>Class: sw-bug
>Release: FreeBSD 5.0 i3
On Tue, Jan 21, 2003 at 08:26:08AM -0800, Bruce A. Mah wrote:
>
> The severity and priority fields can be changed manually but that
> doesn't solve the problem that relying on the user-specified severity
> and priority fields for anything meaningful just doesn't work.
>
If you override the user-
I just got a kernel mode page fault. I'd like to find out more
about
> fault virtual address = 0xdeadc162
It looks like the address is meant to signal a particular class of
error. Which one ?
-Arun
Background fsck:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id
1. Can I use a SMP kernel and bring it up with just one CPU on a two CPU
machine ?
2. How do I trace back funcname+offset to a particular line of C code ?
I tried objdump -d and gcc -S, but it's not easy to read. I thought
there was a way to get gcc to interleave the C code and the gener
On Sun, Jun 09, 2002 at 11:40:09PM -0700, Terry Lambert wrote:
> 0xdeadc162 - 0xdeadc0de = 0x0084 = 132 decimal
>
> Look for a short value that's getting set to 132.
As I said in another email, I think this is td1->td_priority in
kern_mutex.c:510.
-Arun
To Unsubscribe: send mail t
On Tue, Jun 11, 2002 at 04:36:47AM -0400, John Baldwin wrote:
> > 2. How do I trace back funcname+offset to a particular line of C code ?
> >I tried objdump -d and gcc -S, but it's not easy to read. I thought
> >there was a way to get gcc to interleave the C code and the generated
> >a
It seems to me that userret() in 5.0-current is adding quite a bit
of overhead to the syscall latency in FreeBSD. Has anyone done any
measurements of syscall latency for 4.x vs 5.x on identical hardware ?
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hacke
Vasudha Ramnath <[EMAIL PROTECTED]> writes:
>
> I'm running FreeBSD 3.1-RELEASE.
>
> Could someone explain what the poll() function in a device driver should
> do ?
>
> Can it return POLLERR or POLLHUP ?
>
> I have a test driver that returns these values from the poll() function.
> However, t
On Wed, Aug 04, 1999 at 01:20:59PM +0200, Dag-Erling Smorgrav wrote:
> "Kelly Yancey" <[EMAIL PROTECTED]> writes:
> > [...]
>
> Which reminds me - has anyone thought of using DMA for zeroing pages,
> to avoid cache invalidation? The idea is to keep a chunk of zeroes on
> disk and DMA it into memo
Taking a quick look at /usr/src/sys/i386:
find . -name *.s | xargs wc -l
44 ./svr4/svr4_locore.s
216 ./apm/apm_setup.s
24 ./linux/linux_locore.s
461 ./isa/apic_ipl.s
1057 ./isa/apic_vector.s
168 ./isa/icu_ipl.s
224 ./isa/icu_vector.s
387 ./isa/ipl.s
1
Does anyone have a copy of Andrew McRae's Usenix 93 paper ?
The URL: ftp://ftp.cisco.com/amcrae/hardprof.PS doesn't
seem to be valid any more.
Thanks!
-Arun
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Thu, Aug 12, 1999 at 12:02:19PM +0100, Tony Finch wrote:
> Matthew Dillon <[EMAIL PROTECTED]> wrote:
> >
> >One solution would be to map clean R+W pages RO and force a write fault
> >to occur, allowing the system to recognize that there are too many dirty
> >pages in vm_fault before
On Fri, Aug 13, 1999 at 03:04:43PM +0930, Mark Newton wrote:
> Arun Sharma wrote:
>
> > The second alternative - to mark system daemons as special
> > sounds much more attractive.
>
> Ok, now define the difference between "system daemons" and any other
> d
On Thu, Sep 16, 1999 at 12:25:52PM +, greg wrote:
> Can anybody point me to a paper, mailing list discussion, etc. that discusses
> scheduling processes to not thrash the cpu caches? Or if there's anything in
> place, how I can take advantage of it, etc. I got stumped on the idea
> a whil
On Thu, Sep 30, 1999 at 10:57:42PM -0700, Julian Elischer wrote:
> I just installed it.
> the binary is 13234176 bytes long!!
> yes folks, that's 13 MB!
That's an improvement from 4.61!
$ ls -l /usr/local/lib/netscape/communicator-4.61.bin
-r-xr-xr-x 1 root wheel 13271040 Jun 10 10:00
/usr/
The following patch fixes it.
-Arun
# diff -u vm_map.h- vm_map.h
--- vm_map.h- Tue Oct 12 22:52:10 1999
+++ vm_map.hTue Oct 12 22:54:58 1999
@@ -229,7 +229,7 @@
#if defined(MAP_LOCK_DIAGNOSTIC)
printf("locking map LK_EXCLUPGRADE: 0x%x\n", map);
#endif
- error = lock
I wrote kstat as a way to improve on the current BSD method of getting
kernel statistics, which involves looking up a particular kernel symbol
name and then getting the value from the symbol offset. This makes any
performance monitoring tool or an application that gets kernel stats
non-portable ac
On Thu, Nov 04, 1999 at 02:53:51AM -0500, Matthew N. Dodd wrote:
> On Wed, 3 Nov 1999, Arun Sharma wrote:
> > A user program makes a system call with this string "cpu.system" to get
> > the current value of user/system/nice time etc.
>
> How is this different from
On Thu, Nov 04, 1999 at 12:52:50PM -0500, Matthew N. Dodd wrote:
> On Thu, 4 Nov 1999, Arun Sharma wrote:
> > I just looked at the sysctl implementation and there are some differences.
> > Moreover, since it was not being used in tools like vmstat and xosview,
> > I thought t
On Thu, Nov 04, 1999 at 06:30:01PM -0800, Mike Smith wrote:
> Sysctl is faster than kstat once you have performed the name->oid
> lookup. There is basically nothing that kstat can do that sysctl can't
> do better and faster, apart from lookup-by-name.
Can a loadable module, say a network drive
On Thu, Nov 04, 1999 at 09:31:02PM -0600, Chris Costello wrote:
> On Thu, Nov 04, 1999, Arun Sharma wrote:
> > Can a loadable module, say a network driver register variables with
> > sysctl ? Can sysctl itself be made a loadable module ? As for the speed,
>
> a.) Yes.
I d
[ For some reason, this post through muc.lists.freebsd.hackers gateway didn't
show up on the mailing list. Forwarding it to the mailing list.. ]
On Thu, 04 Nov 1999 20:38:50 -0800, Mike Smith <[EMAIL PROTECTED]> wrote:
> > I don't see any examples in sys/modules. The SYSCTL_INT macros eventual
Here's a reimplementation of my earlier per cpu time keeping patch
on SMP. The attached patch is against a 11/20/99 -current that I
cvsup'ed.
1. On UP,
sys_time is a global and contains the system wide stats
cpu_time is a global and is essentially the same as sys_time.
2. On S
On Mon, Nov 29, 1999 at 10:09:35AM +0100, Andrzej Bialecki wrote:
> > I was thinking about implementing SMP cpu stats using sysctl today and
> > I have a question - can I create sysctl nodes dynamically ?
> >
> > i.e.
> >
> > for (cpu = 0; cpu < get_num_cpus(); cpu++) {
> > /* cr
On Wed, Dec 08, 1999 at 05:44:31PM +0100, Andrzej Bialecki wrote:
> On Wed, 8 Dec 1999, Arun Sharma wrote:
> Erhm.. No.
>
> Look closer at the SPY module. I create the whole branch from the root
> level. In the standard system there is no such thing as "kld" node,
> n
Arun Sharma wrote:
>
>
> Here's a reimplementation of my earlier per cpu time keeping patch
> on SMP. The attached patch is against a 11/20/99 -current that I
> cvsup'ed.
Did anyone get a chance to review this ? Is everyone busy or sending
patches to -hackers is
In muc.lists.freebsd.hackers, you wrote:
>
> When the kernel wants to access any user data, it either copies them into
> the kernel or maps them into kernel address space. Can anyone tell me the
> reasons why this is done? When a process enters the kernel mode, the
> page tables are not changed
On Thu, Jan 20, 2000 at 10:04:16AM -0500, Zhihui Zhang wrote:
> Point 2 seems to be saying that we would rather sacrifice some performance
> to gain a cleaner interface (people are talking about eliminating kernel
> copying for a long time). Consider the physical I/O on a raw device, where
> we ma
On Fri, 25 Feb 2000 14:25:46 -0500, James Housley <[EMAIL PROTECTED]> wrote:
> I am trying to find out the current % idle of the machine from within a
> program. I have looked at the valuse provided by sysctl and found
> loadavg but not system idle. I have also looked through the source for
> to
Arun Sharma wrote:
> Matt Dillon wrote:
> > What I would truely love to do would be to get away with not using a GPT
> > at all and instead doing a vm_map_lookup_entry()/vm_page_lookup()
> > (essentially taking a vm_fault), then optimize the vm_map_entry
> &g
[ My apologies if this is a repeat - my earlier mail didn't seem to make it ]
On Fri, 18 Feb 2000 12:03:37 +1100, Patryk Zadarnowski <[EMAIL PROTECTED]> wrote:
> On the other hand, IA-64 is a very exotic architecture from the OS's
> point of view, and anyone planning to port *BSD to it should pr
On Fri, Feb 18, 2000 at 04:06:55PM -0800, Matthew Dillon wrote:
> If I understand the hardware hash table method correctly, then
> I think the absolute best choice for FreeBSD is to use that method
> as it will allow us to get rid of the scaleability problems we have
> with the pv_
On Sat, 19 Feb 2000 12:10:14 +1100, Patryk Zadarnowski
<[EMAIL PROTECTED]> wrote:
>
> 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
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 convinced to give FreeBSD rights to use
> them. I'll be happy to ask
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, and th
On Sun, Feb 20, 2000 at 04:28:51PM +1100, Patryk Zadarnowski wrote:
> > 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 ?
> > >
> > > N
Matt Dillon wrote:
>
> Linux also stores persistent information in their machine independant
> page tables. They aren't throw-away like FreeBSD's are. This will give
> us a huge advantage when we do the IA64 port.
I forgot to mention that Linux/IA-64 switches the processor to physi
> On Linux this is what I do to get this value: Measure the number of
> scheduled jiffies (hundreths of second), measure elapsed time since last
> measurement, divide.
I ran into the same problem as you - and took the time to implement it.
My patches fix the SMP case as well as getting it via sy
When I try to compile a simple multi threaded program using a wrapper
around rfork (from linuxthreads port), I get the following core dump:
ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/lockdflt.c:54
Investigation into code reveals that lazy resolution of symbols
(using PLTs) was happen
On Sun, Mar 26, 2000 at 11:04:08AM -0600, Richard Seaman, Jr. wrote:
> No. See the file libc_thread.c in the linuxthreads port.
>
> Note that if you call rfork (RF_MEM...) without any supporting
> infrastructure (eg. as provided by the linuxthreads port) you
> are in dangerous territory. You do
1 - 100 of 125 matches
Mail list logo