On 12.10.2013, at 18:14, Konstantin Belousov kostik...@gmail.com wrote:
First I tried with some swap space configured. The OS started to swap out
my process after it reached about 20GB which is also not what I expected:
what is the reason to swap out regions of read-only mmap()ed files?
On Fri, Oct 11, 2013 at 09:57:24AM +0400, Dmitry Sivachenko wrote:
On 11.10.2013, at 9:17, Konstantin Belousov kostik...@gmail.com wrote:
On Wed, Oct 09, 2013 at 03:42:27PM +0400, Dmitry Sivachenko wrote:
Hello!
I have a program which mmap()s a lot of large files (total size more
On 12.10.2013, at 13:59, Konstantin Belousov kostik...@gmail.com wrote:
I was not able to reproduce the situation locally. I even tried to start
a lot of threads accessing the mapped regions, to try to outrun the
pagedaemon. The user threads sleep on the disk read, while pagedaemon
has a
On Sat, Oct 12, 2013 at 04:04:31PM +0400, Dmitry Sivachenko wrote:
On 12.10.2013, at 13:59, Konstantin Belousov kostik...@gmail.com wrote:
I was not able to reproduce the situation locally. I even tried to start
a lot of threads accessing the mapped regions, to try to outrun the
On 11.10.2013, at 9:17, Konstantin Belousov kostik...@gmail.com wrote:
On Wed, Oct 09, 2013 at 03:42:27PM +0400, Dmitry Sivachenko wrote:
Hello!
I have a program which mmap()s a lot of large files (total size more that
RAM and I have no swap), but it needs only small parts of that files
On Wed, Oct 09, 2013 at 03:42:27PM +0400, Dmitry Sivachenko wrote:
Hello!
I have a program which mmap()s a lot of large files (total size more that RAM
and I have no swap), but it needs only small parts of that files at a time.
My understanding is that when using mmap when I access some
On Wed, 9 Oct 2013 15:42:27 +0400
Dmitry Sivachenko wrote:
Hello!
I have a program which mmap()s a lot of large files (total size more
that RAM and I have no swap), but it needs only small parts of that
files at a time.
My understanding is that when using mmap when I access some memory
On Mon, Jul 1, 2013 at 5:42 PM, David Sanford
david.lee...@programmer.netwrote:
Hi,
Thanks for your responses to my first question. They were very helpful.
In looking at the code, I ran across the functions setprogname and
getprogname. According to the man page:
In FreeBSD, the name of the
On 24 May 2013 08:34, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
wrote:
how to redirect recipient address. i mean - if someone try to send to
x...@y.pl from serwer then it should be redirected to local account, while the
rest of mails to domain @y.pl should get out normally.
alternatively
On Fri, 24 May 2013 09:33+0200, Wojciech Puchar wrote:
how to redirect recipient address. i mean - if someone try to send to
x...@y.pl
from serwer then it should be redirected to local account, while the rest of
mails to domain @y.pl should get out normally.
alternatively outgoing mail to
To:x...@y.pl REJECT
doesn't work
any idea. thank you
Don't use /etc/mail/access, use /etc/mail/aliases.
E.g.:
x: /dev/null
x is NOT on my server. it will not work.
all i want is when someone send a mail from my server to x...@y.pl (which is
someone else domain) it will not get
On Fri, 24 May 2013 09:55+0200, Wojciech Puchar wrote:
To:x...@y.pl REJECT
doesn't work
any idea. thank you
Don't use /etc/mail/access, use /etc/mail/aliases.
E.g.:
x: /dev/null
x is NOT on my server. it will not work.
all i want is when someone send a
On Fri, 24 May 2013 10:19+0200, Trond Endrestøl wrote:
My bad, take a look at the /etc/mail/genericstable file:
http://www.sendmail.com/sm/open_source/docs/m4/features.html
Maybe a line like this one will help you achieve your goal:
j...@bar.com error:5.7.0:550 Address invalid
I was
all i want is when someone send a mail from my server to x...@y.pl (which is
someone else domain) it will not get there and be blocked or redirected
My bad, take a look at the /etc/mail/genericstable file:
http://www.sendmail.com/sm/open_source/docs/m4/features.html
Maybe a line like this one
http://www.sendmail.com/sm/open_source/docs/m4/features.html
Maybe a line like this one will help you achieve your goal:
j...@bar.comerror:5.7.0:550 Address invalid
I was wrong again, sorry, but I believe I got it right this time:
1. Edit the /etc/mail/access file.
2. Insert a line
On 24 May 2013 11:05, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
wrote:
http://www.sendmail.com/sm/open_source/docs/m4/features.html
Maybe a line like this one will help you achieve your goal:
j...@bar.com error:5.7.0:550 Address invalid
I was wrong again, sorry, but I believe I
On Fri, 24 May 2013 12:03+0200, Wojciech Puchar wrote:
1. Edit the /etc/mail/access file.
2. Insert a line like this one:
To:mail...@some.domain.tld REJECT
tried too.
doesn't work.
Make sure you edit the /etc/mail/access file, not the
/etc/mail/access.db file.
The latter is a
On Fri, 24 May 2013 12:45+0200, Trond Endrestøl wrote:
On Fri, 24 May 2013 12:03+0200, Wojciech Puchar wrote:
1. Edit the /etc/mail/access file.
2. Insert a line like this one:
To:mail...@some.domain.tld REJECT
tried too.
doesn't work.
Make sure you edit the
On Fri, May 24, 2013, Trond Endrest?l wrote:
[freebsd-hackers doesn't seem like the appropriate list...]
FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
Do NOT use -o. Moreover, do not specify arguments that are default.
FEATURE(`access_db')
is the best choice.
One final(?) note: You
On Fri, 24 May 2013 08:34-0700, Claus Assmann wrote:
On Fri, May 24, 2013, Trond Endrestøl wrote:
[freebsd-hackers doesn't seem like the appropriate list...]
FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
Do NOT use -o. Moreover, do not specify arguments that are default.
On Fri, May 24, 2013, Trond Endrest?l wrote:
On Fri, 24 May 2013 08:34-0700, Claus Assmann wrote:
FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
Do NOT use -o. Moreover, do not specify arguments that are default.
Then I guess the defaults in freebsd.mc should be changed as well:
works fine after your advice. thank you very much.
FEATURE(`access_db')
FEATURE(`blacklist_recipients')
On Fri, 24 May 2013, Claus Assmann wrote:
On Fri, May 24, 2013, Trond Endrest?l wrote:
[freebsd-hackers doesn't seem like the appropriate list...]
FEATURE(access_db, `hash -o -TTMPF
On Tue, Feb 19, 2013 at 5:11 AM, Borja Marcos bor...@sarenet.es wrote:
Hello,
I'm really sorry if this is a stupid question, but as far as I know,
u_int64_t defined in /usr/include/sys/types.h should *always* be
a 64 bit unsigned integer, right?
Seems there's a bug (or I need more and
On Feb 19, 2013, at 3:52 PM, m...@freebsd.org wrote:
Last I knew -m32 still wasn't quite supported on 9.1. This is fixed
Ahh I see. It should print a warning, then. It's the typical thing that can
drive you nuts ;)
Thanks,
Borja.
___
On Tue, Feb 19, 2013 at 06:52:34AM -0800, m...@freebsd.org wrote:
On Tue, Feb 19, 2013 at 5:11 AM, Borja Marcos bor...@sarenet.es wrote:
Hello,
I'm really sorry if this is a stupid question, but as far as I know,
u_int64_t defined in /usr/include/sys/types.h should *always* be
a 64
Hi Dave:
This wiki page may be of value:
http://wiki.freebsd.org/AddingAuditEvents
Robert N M Watson
Computer Laboratory
University of Cambridge
On Thu, 8 Nov 2012, dave jones wrote:
Hello,
I know how to create system calls, but I'm a bit confused about
sys/kern/syscalls.master
On Sun, 3 Jul 2011, exorcistkiller wrote:
Hi! I am taking a FreeBSD course this summer and I'm doing a homework. A new
system call uidkill() is to be added. uidkill(uid_t uid, int signum) sends
signal specified by signum to all processes owned by uid, excluding the
calling process itself.
On Mon, 30 May 2011, Mark Saad wrote:
So I am stumped on this one. I want to know what the IP of each
nfs server that is providing each nfs export. I am running 7.4-RELEASE
When I run mount -t nfs I see something like this
VIP-01:/export/source on /mnt/src
VIP-02:/export/target on
Maybe you can use showmount -a SERVER-IP, foreach server you have...
That might work. NFS doesn't actually have a notion of a mount, but
the mount protocol daemon (typically called mountd) does try and keep
track of NFSv3 mounts from the requests it sees. How well this works for
NFSv3 will
Hello All
So I am stumped on this one. I want to know what the IP of each
nfs server that is providing each nfs export. I am running 7.4-RELEASE
When I run mount -t nfs I see something like this
VIP-01:/export/source on /mnt/src
VIP-02:/export/target on /mnt/target
VIP-01:/export/logs on
On Mon, May 30, 2011 at 8:13 PM, Rick Macklem rmack...@uoguelph.ca wrote:
Hello All
So I am stumped on this one. I want to know what the IP of each
nfs server that is providing each nfs export. I am running 7.4-RELEASE
When I run mount -t nfs I see something like this
VIP-01:/export/source
Maybe you can use showmount -a SERVER-IP, foreach server you have...
Thiago
2011/5/30 Mark Saad nones...@longcount.org:
On Mon, May 30, 2011 at 8:13 PM, Rick Macklem rmack...@uoguelph.ca wrote:
Hello All
So I am stumped on this one. I want to know what the IP of each
nfs server that is
On Apr 28, 2011, at 7:37 PM, Arnaud Lacombe wrote:
On Thu, Apr 28, 2011 at 11:52 AM, Hartmut Brandt hartmut.bra...@dlr.de
wrote:
I think we can change this, because it would break makefiles that assume
that the entire script is given to the shell in one piece.
I'm not sure to parse that.
On Thu, Apr 28, 2011 at 08:50:27PM +0200, Hartmut Brandt wrote:
On Thu, 28 Apr 2011, Roman Divacky wrote:
RDOn Thu, Apr 28, 2011 at 05:52:58PM +0200, Hartmut Brandt wrote:
RD Hi Roman,
RD
RD On Wed, 27 Apr 2011, Roman Divacky wrote:
RD
RD RDYou seem to have messed with bsd make so I
s/can/can't/
harti
From: Arnaud Lacombe [lacom...@gmail.com]
Sent: Friday, April 29, 2011 3:37 AM
To: Brandt, Hartmut
Cc: Roman Divacky; hack...@freebsd.org
Subject: Re: make question
Hi,
On Thu, Apr 28, 2011 at 11:52 AM, Hartmut Brandt hartmut.bra
On Fri, 29 Apr 2011, Roman Divacky wrote:
RDOn Thu, Apr 28, 2011 at 08:50:27PM +0200, Hartmut Brandt wrote:
RD On Thu, 28 Apr 2011, Roman Divacky wrote:
RD
RD RDOn Thu, Apr 28, 2011 at 05:52:58PM +0200, Hartmut Brandt wrote:
RD RD Hi Roman,
RD RD
RD RD On Wed, 27 Apr 2011, Roman Divacky wrote:
Hi,
This whole area is quite a mess. See for instance bin/10985 on interactions
between -j, -B and .NOTPARALLEL
--
Bob Bishop
r...@gid.co.uk
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To
Hi Roman,
On Wed, 27 Apr 2011, Roman Divacky wrote:
RDYou seem to have messed with bsd make so I have a question for you :)
Yeah, that was some time ago ...
RDWhen a job is about to be executed in JobStart() a pipe is created with
RDits ends connected to job-inPipe/job-outPipe. When the job
On Thu, Apr 28, 2011 at 05:52:58PM +0200, Hartmut Brandt wrote:
Hi Roman,
On Wed, 27 Apr 2011, Roman Divacky wrote:
RDYou seem to have messed with bsd make so I have a question for you :)
Yeah, that was some time ago ...
RDWhen a job is about to be executed in JobStart() a pipe is
On Thu, 28 Apr 2011, Roman Divacky wrote:
RDOn Thu, Apr 28, 2011 at 05:52:58PM +0200, Hartmut Brandt wrote:
RD Hi Roman,
RD
RD On Wed, 27 Apr 2011, Roman Divacky wrote:
RD
RD RDYou seem to have messed with bsd make so I have a question for you :)
RD
RD Yeah, that was some time ago ...
RD
RD
Hi,
On Thu, Apr 28, 2011 at 11:52 AM, Hartmut Brandt hartmut.bra...@dlr.de wrote:
I think we can change this, because it would break makefiles that assume
that the entire script is given to the shell in one piece.
I'm not sure to parse that. We can change it because it would break stuff.
That
On Wed, Apr 27, 2011 at 1:30 PM, Chris Richardson
chris.richardson@gmail.com wrote:
I wanna emulate OMAP3 Processor. Is it approach I can use to emulate
OMAP3 without the need to any hardware?
Qemu has some basic support for this:
http://code.google.com/p/qemu-omap3/
No idea how good it
On Tue, Apr 19, 2011 at 12:00:29PM +,
freebsd-hackers-requ...@freebsd.org wrote:
Subject: Re: SMP question w.r.t. reading kernel variables
To: Rick Macklem rmack...@uoguelph.ca
Cc: freebsd-hackers@freebsd.org
Message-ID: 201104181712.14457@freebsd.org
[John Baldwin
On Wed, Apr 20, 2011 at 7:42 AM, Rick Macklem rmack...@uoguelph.ca wrote:
On Tue, Apr 19, 2011 at 12:00:29PM +,
freebsd-hackers-requ...@freebsd.org wrote:
Subject: Re: SMP question w.r.t. reading kernel variables
To: Rick Macklem rmack...@uoguelph.ca
Cc: freebsd-hackers
[good stuff snipped for brevity]
1. Set MNTK_UNMOUNTF
2. Acquire a standard FreeBSD mutex m.
3. Update some data structures.
4. Release mutex m.
Then, other threads that acquire m after step 4 has occurred will
see
MNTK_UNMOUNTF as set. But, other threads that beat thread X to step 2
[good stuff snipped for brevity]
1. Set MNTK_UNMOUNTF
2. Acquire a standard FreeBSD mutex m.
3. Update some data structures.
4. Release mutex m.
Then, other threads that acquire m after step 4 has occurred will
see
MNTK_UNMOUNTF as set. But, other threads that beat thread X to
On Tue, Apr 19, 2011 at 12:00:29PM +, freebsd-hackers-requ...@freebsd.org
wrote:
Subject: Re: SMP question w.r.t. reading kernel variables
To: Rick Macklem rmack...@uoguelph.ca
Cc: freebsd-hackers@freebsd.org
Message-ID: 201104181712.14457@freebsd.org
[John Baldwin]
On Monday, April
On Sunday, April 17, 2011 3:49:48 pm Rick Macklem wrote:
Hi,
I should know the answer to this, but... When reading a global kernel
variable, where its modifications are protected by a mutex, is it
necessary to get the mutex lock to just read its value?
For example:
Aif
On Sunday, April 17, 2011 3:49:48 pm Rick Macklem wrote:
Hi,
I should know the answer to this, but... When reading a global
kernel
variable, where its modifications are protected by a mutex, is it
necessary to get the mutex lock to just read its value?
For example:
A if
All of this makes sense. What I was concerned about was memory cache
consistency and whet (if anything) has to be done to make sure a
Oops, whet should have been what..
___
freebsd-hackers@freebsd.org mailing list
On Monday, April 18, 2011 4:22:37 pm Rick Macklem wrote:
On Sunday, April 17, 2011 3:49:48 pm Rick Macklem wrote:
Hi,
I should know the answer to this, but... When reading a global
kernel
variable, where its modifications are protected by a mutex, is it
necessary to get the
2011/4/17 Rick Macklem rmack...@uoguelph.ca:
Hi,
I should know the answer to this, but... When reading a global kernel
variable, where its modifications are protected by a mutex, is it
necessary to get the mutex lock to just read its value?
For example:
A if ((mp-mnt_kern_flag
On Sun, Apr 17, 2011 at 03:49:48PM -0400, Rick Macklem wrote:
Hi,
I should know the answer to this, but... When reading a global kernel
variable, where its modifications are protected by a mutex, is it
necessary to get the mutex lock to just read its value?
For example:
Aif
On Sun, Apr 17, 2011 at 03:49:48PM -0400, Rick Macklem wrote:
Hi,
I should know the answer to this, but... When reading a global
kernel
variable, where its modifications are protected by a mutex, is it
necessary to get the mutex lock to just read its value?
For example:
A if
On 04/02/2011, at 13:26, Daniel O'Connor wrote:
I am writing a program which reads from a data acquisition chassis connected
to a radar via USB. The interface is a Cypress FX2 and I am communicating via
libusb.
I ended up writing a kernel driver (thank you hps for usb_fifo_*!) and it has
On 04/02/2011, at 13:26, Daniel O'Connor wrote:
I only have about 10 milliseconds of buffering (96kbyte FIFO, 8Mbyte/sec) in
the hardware, however I have about 128Mb of USB requests queued up to libusb.
hps@ informed me that libusb will only queue 16kbyte (2msec) in the kernel at
one time
On 11/02/2011, at 6:58, Matthew Dillon wrote:
It sounds like there are at least two issues involved.
The first could be a buffer cache starvation issue due to the load on
the filesystem from the tar. If the usb program is doing any filesystem
operation at all, even at low
It sounds like there are at least two issues involved.
The first could be a buffer cache starvation issue due to the load on
the filesystem from the tar. If the usb program is doing any filesystem
operation at all, even at low bandwidths, it could be hitting blockages
due to the
On 07/02/2011 04:12, Daniel O'Connor wrote:
On 07/02/2011, at 13:02, Ivan Voras wrote:
I'll be looking at it on Monday, I will let you know :)
No luck with mlock() so it wouldn't appear to be paging is the issue :(
I'm also interested in raw device vs file system access!
Oops, sorry.. I
On 07/02/2011, at 21:07, Ivan Voras wrote:
I'm also interested in raw device vs file system access!
Oops, sorry.. I just tried that now but it doesn't improve things :(
Meaning: you still get jitter?
Yes, well I didn't measure the read frequency but it dropped out (stopped
streaming due
On 7 February 2011 13:38, Daniel O'Connor docon...@gsoft.com.au wrote:
I am writing directly to /dev/ad10 but stressing /dev/ad14 (sudo tar -cf
/dev/null /local0)
Can you do only one of those things? I.e. leave all the file systems
alone and just do something like 'diskinfo -vt /dev/ad14'?
On 07/02/2011, at 23:36, Ivan Voras wrote:
OK, I wrote the data to /dev/null from USB and ran diskutil in a loop and it
doesn't drop out.
Maybe I misunderstood you and it's a different problem than what I was
experiencing; is this a better description of your problem:
1) you have a
On 05/02/2011, at 12:43, Daniel O'Connor wrote:
On 05/02/2011, at 11:09, Ivan Voras wrote:
It doesn't allocate memory once it's going, everything is preallocated
before the data transfer starts.
I'll have a go with mlock() and see what happens.
Did you find anything interesting?
I'll
On 7 February 2011 02:41, Daniel O'Connor docon...@gsoft.com.au wrote:
On 05/02/2011, at 12:43, Daniel O'Connor wrote:
On 05/02/2011, at 11:09, Ivan Voras wrote:
It doesn't allocate memory once it's going, everything is preallocated
before the data transfer starts.
I'll have a go with
On 07/02/2011, at 13:02, Ivan Voras wrote:
I'll be looking at it on Monday, I will let you know :)
No luck with mlock() so it wouldn't appear to be paging is the issue :(
I'm also interested in raw device vs file system access!
Oops, sorry.. I just tried that now but it doesn't improve
On 04/02/2011 03:56, Daniel O'Connor wrote:
I hooked up a logic analyser and I can see most of the time it's fairly
regularly transferring 16k of data every 2msec.
If I load up the disk by, eg, tar -cf /dev/null /local0 I find it drops out and
I can see gaps in the transfers until eventually
On 04/02/2011, at 21:48, Ivan Voras wrote:
I am wondering if this is a scheduler problem (or I am expecting too much :)
in that it is not running my libusb thread reliably under load. The other
possibility is that it is a USB issue, although I am looking at using
isochronous transfers
On 04/02/2011 12:45, Daniel O'Connor wrote:
On 04/02/2011, at 21:48, Ivan Voras wrote:
I am wondering if this is a scheduler problem (or I am expecting too much :) in
that it is not running my libusb thread reliably under load. The other
possibility is that it is a USB issue, although I am
On 05/02/2011, at 11:09, Ivan Voras wrote:
It doesn't allocate memory once it's going, everything is preallocated
before the data transfer starts.
I'll have a go with mlock() and see what happens.
Did you find anything interesting?
I'll be looking at it on Monday, I will let you know :)
Am 13.01.2011 06:42, schrieb Julian Elischer:
On 1/12/11 5:26 AM, Svatopluk Kraus wrote:
Hi,
I'd like to add a new network domain into kernel (and never remove it)
from loadable module. In fact, I did it, but I got following warning
from domain_add(): WARNING: attempt to domain_add(xyz)
On 1/12/11 5:26 AM, Svatopluk Kraus wrote:
Hi,
I'd like to add a new network domain into kernel (and never remove it)
from loadable module. In fact, I did it, but I got following warning
from domain_add(): WARNING: attempt to domain_add(xyz) after
domainfinalize(). Now, I try to figure out what
On Sat, Oct 9, 2010 at 4:46 PM, Eknath Venkataramani
eknath.i...@gmail.com wrote:
DI of the FreeBSD Operating System says it's gonna refer to the BSD default
scheduler, the 'time share scheduler' does this mean sched_4BSD.c(In the
introduction section of Chapter 4) handles only time-share
On Sun, 25 Jul 2010 23:43:08 +0300
Andriy Gapon a...@freebsd.org wrote:
on 25/07/2010 23:28 RW said the following:
I didn't say it say it was guaranteed. I just think the scenario
where a first pass ends up between the watermarks is rare. And when
it happens I don't see a compelling
on 25/07/2010 23:43 Andriy Gapon said the following:
on 25/07/2010 23:28 RW said the following:
I didn't say it say it was guaranteed. I just think the scenario where
a first pass ends up between the watermarks is rare. And when it
happens I don't see a compelling reason to do extra paging to
on 26/07/2010 20:53 RW said the following:
If after the first pass with light-paging the high watermark isn't
reached then the choices are
1) loop and immediately do a heavy-paging pass.
2) wait and let the daemon get woken-up for another light-paging pass -
only go to heavy-paging when
on 25/07/2010 02:31 RW said the following:
On Sat, 24 Jul 2010 23:23:07 +0300
Andriy Gapon a...@freebsd.org wrote:
There is a good deal of comments in the vm_pageout.c code that imply
that we use a hysteresis approach to deal with low available pages
condition.
In general, the
On Sun, 25 Jul 2010 13:07:21 +0300
Andriy Gapon a...@freebsd.org wrote:
on 25/07/2010 02:31 RW said the following:
As I understand it the hysteresis is done inside vm_pageout_scan,
and the expectation is that one pass will typically satisfy this
because the design aims to keep enough
on 25/07/2010 16:41 RW said the following:
On Sun, 25 Jul 2010 13:07:21 +0300
Andriy Gapon a...@freebsd.org wrote:
on 25/07/2010 02:31 RW said the following:
As I understand it the hysteresis is done inside vm_pageout_scan,
and the expectation is that one pass will typically satisfy this
On Sun, 25 Jul 2010 17:19:41 +0300
Andriy Gapon a...@freebsd.org wrote:
on 25/07/2010 16:41 RW said the following:
In FreeBSD the inactive queue contains disk cache pages which
normally provide most of the clean pages needed. In addition pages
are dribbled out to swap, and the resulting
on 25/07/2010 23:28 RW said the following:
On Sun, 25 Jul 2010 17:19:41 +0300
Andriy Gapon a...@freebsd.org wrote:
on 25/07/2010 16:41 RW said the following:
In FreeBSD the inactive queue contains disk cache pages which
normally provide most of the clean pages needed. In addition pages
On Sat, 24 Jul 2010 23:23:07 +0300
Andriy Gapon a...@freebsd.org wrote:
There is a good deal of comments in the vm_pageout.c code that imply
that we use a hysteresis approach to deal with low available pages
condition.
In general, the hysteresis, the comments and the code make sense.
* Andreas Tobler andreast-l...@fgznet.ch wrote:
But now I wonder how can I teach the sysctl to print my tempreature
the same way as my userland app does.
I seem to remember all the other temperature sensors expose their value
using tenth Kelvin precision. There is some kind of modifier you can
On 13.07.10 10:48, Ed Schouten wrote:
* Andreas Toblerandreast-l...@fgznet.ch wrote:
But now I wonder how can I teach the sysctl to print my tempreature
the same way as my userland app does.
I seem to remember all the other temperature sensors expose their value
using tenth Kelvin precision.
- use a matrix is faster than use a linked list?
For what?
For insertion and deletion no - linked list is faster. For sequential
access they are the same speed (forgetting look-ahead caching). For
random access matrix is faster.
___
On Fri, Apr 23, 2010 at 06:18:46PM +0300, Eitan Adler wrote:
- use a matrix is faster than use a linked list?
For what?
For insertion and deletion no - linked list is faster. For sequential
access they are the same speed (forgetting look-ahead caching). For
random access matrix is faster.
On Friday 23 April 2010 17:40:12 Joerg Sonnenberger wrote:
On Fri, Apr 23, 2010 at 06:18:46PM +0300, Eitan Adler wrote:
- use a matrix is faster than use a linked list?
For what?
For insertion and deletion no - linked list is faster. For sequential
access they are the same speed
2010/4/9 Leinier Cruz Salfran salfrancl.lis...@gmail.com
- use a matrix is faster than use a linked list?
example:
char *szColumnName[10];
unsigned short iColumnAge[10];
struct _llList {
struct _llList *prev, *next;
char szName[64];
unsigned short iAge;
};
Leinier ,
This
On Fri, Apr 9, 2010 at 10:52 AM, Alexander Churanov
alexanderchura...@gmail.com wrote:
2010/4/9 Leinier Cruz Salfran salfrancl.lis...@gmail.com
- use a matrix is faster than use a linked list?
example:
char *szColumnName[10];
unsigned short iColumnAge[10];
struct _llList {
struct
On Fri, 9 Apr 2010, Leinier Cruz Salfran wrote:
hello all
i want to know your oppinions about this:
- use a matrix is faster than use a linked list?
yes.
example:
char *szColumnName[10];
unsigned short iColumnAge[10];
struct _llList {
struct _llList *prev, *next;
char szName[64];
On Thu, 1 Apr 2010 15:53:50 +0530
Daniel Rodrick daniel.rodr...@gmail.com wrote:
Hello List,
I'm a newbie and coming from Linux background, and am trying to learn
FreeBSD now. The first thing I find a little confusing is that the
final FreeBSD kernel image is shown as a DYNAMICALLY LINKED
Hi,
Please don't crosspost to many lists. This topic is probably
suitable for hackers@ but not for the other lists.
Daniel Rodrick daniel.rodr...@gmail.com wrote:
I'm a newbie and coming from Linux background, and am trying to learn
FreeBSD now. The first thing I find a little confusing is
On Thursday 01 April 2010 6:23:50 am Daniel Rodrick wrote:
Hello List,
I'm a newbie and coming from Linux background, and am trying to learn
FreeBSD now. The first thing I find a little confusing is that the
final FreeBSD kernel image is shown as a DYNAMICALLY LINKED binary:
$
$ pwd
Dag-Erling Smørgrav d...@des.no writes:
File is right. The kernel contains relocation entries so kernel modules
can be linked against it.
relocation entries is possibly not the right term, someone with better
knowledge of ELF will have to correct me.
DES
--
Dag-Erling Smørgrav - d...@des.no
Gary Jennejohn gary.jennej...@freenet.de writes:
Daniel Rodrick daniel.rodr...@gmail.com writes:
$ file kernel
kernel: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),
dynamically linked (uses shared libs), not stripped
file is confused. FreeBSD uses a monolithic kernel and no
: Sunday, July 26, 2009 8:50 PM
To: Diskin, Gal
Cc: freebsd-hackers@freebsd.org
Subject: Re: ptrace question
On Sun, Jul 26, 2009 at 06:11:25PM +0300, Diskin, Gal wrote:
Hi,
I'm using ptrace to execute one application under the control
of another (surprisingly :P). I'm trying to find the number
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Gábor Kövesdán wrote:
Hi,
I wonder if there's a conventional way of building _only_ shared
libraries using bsd.lib.mk. At default, it builds static, shared and
profiled libraries, which is a waste of time because I only need shared
Hi Gabor,
* Gábor Kövesdán ga...@kovesdan.org wrote:
I wonder if there's a conventional way of building _only_ shared
libraries using bsd.lib.mk. At default, it builds static, shared and
profiled libraries, which is a waste of time because I only need
shared libraries, which I use as
On Sun, Jul 26, 2009 at 06:11:25PM +0300, Diskin, Gal wrote:
Hi,
I'm using ptrace to execute one application under the control
of another (surprisingly :P). I'm trying to find the number
of the last system call executed in the traced process from
the tracing process. In Linux this is done
thx for all the great help guys.
cheers,
alex
Carlos A. M. dos Santos schrieb am 2009-07-02:
2009/7/2 Dag-Erling Smørgrav d...@des.no:
Alexander Best alexbes...@math.uni-muenster.de writes:
for (i=0; i sizeof(hdr-nintendo_logo); i++)
fprintf(stderr, %x, hdr-nintendo_logo[i]);
On Tue, 30 Jun 2009 20:21:03 +0200 (CEST), Alexander Best
alexbes...@math.uni-muenster.de wrote:
thanks. now the output gets redirected using . i'm quite new to programming
under unix. sorry for the inconvenience.
so i guess there is no really easy way to output an inhomogeneous struct to
1 - 100 of 566 matches
Mail list logo