What is the state of the art for the recommended amount of swap in
FreeBSD? Both normal systems with 512 MB - 8 GB of RAM, and large
database systems with around 128 - 256 GB.
Thanks in advance,
--
Sean Hamilton seanhamil...@gmail.com
___
freebsd
On Fri, Dec 18, 2009 at 12:47:11PM +1100,
Lawrence Stewart wrote:
Sean Hamilton wrote:
[...]
Second, I am using a FreeBSD server to talk to equipment
which has a GPRS internet connection. This is fairly high
latency (approximately one second RTT) and is prone to
bursts of packet
, but it's not clear to me exactly how they
might be adjusted for this purpose.
Thanks in advance,
--
Sean Hamilton s...@bel.bc.ca
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any
--
Sean Hamilton [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
put a device on
the parallel interface this controller offers, the timeout problem goes
away, so that is my solution for now.
--
Sean Hamilton [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd
:/dev/ar0a
--
Sean Hamilton [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]
Soren Schmidt [EMAIL PROTECTED] wrote:
| It seems Sean Hamilton wrote:
| | I have two Asus boards (A7V8X and A7V) which have in common a
| | Promise ATA controller. Both of these boards hang up for about a
| | minute during the boot of 5.1-RELEASE, and emit messages about ad*
| | devices being
Does FreeBSD support a device that will allow for the passing of all reads
and writes on it to a userland application? I wish to handle swapping
myself, preferably without any kernel hacking.
What would happen if the kernel decided to swap out such a process?
I have some code resembling:
FILE * f = fopen (filename, rb);
mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fileno (f), 0);
I've found that reads are not brought into disk cache. Successive reads on
the same file once again read from disk. If I cat the file to /dev/null,
then the mmap(2) does
I'm looking to replace an aging fileserver with an Asus A7V600 board.
Presently it appears FreeBSD does not support the serial ATA interface on
the south bridge. As this appears to be the first Via serial ATA controller,
am I safe in assuming this will not be supported for some time?
I have
I have some code resembling:
FILE * f = fopen (filename, rb);
mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fileno (f), 0);
I've found that reads are not brought into disk cache. Successive reads on
the same file once again read from disk. If I cat the file to /dev/null,
then the mmap(2) does
Greetings,
I have an application which has some task it must execute at some interval
(approximately 1000 times per second.) This application calls select(2) in a
loop, and uses its timeout parameter to try to keep the timing consistent.
At the end of a cycle, it sends out a large amount of
Greetings,
What measures are in place to ensure disk quota consistency? For instance,
if a part of the filesystem changes while running quotacheck, I imagine that
does not get accounted for.
Wouldn't somebody have trouble enabling quotas on a busy filesystem? The
quota file would always lag
[asked in comp.unix.programmer without much luck]
Greetings,
I have a loop which calls wait(), and I want another function to be called
as close to once per minute as possible. Pseudo code:
int alarmed = 0;
void handle_sigalrm (int sig)
{
alarmed = 1;
}
while (1)
{
alarmed = 0;
Dan Nelson wrote:
| Just make sure your signal handler has the SA_RESTART flag unset
| (either via siginterrupt() if the handler was installed with signal(),
| or directly if the signal was installed with sigaction() ), and the
| signal will interrupt the wait() call.
Er, I think you've missed my
Greetings,
What is the first parameter to select(2) for? Microsoft's select ignores it,
and it does not appear to have any valid use since it only allows
constraints on values which are assigned by the system.
Purely historic?
sh
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe
Greetings,
I recently upgraded a FreeBSD 4.6.2 bridge to 5.0, and am having troubles
with how it handles IP addresses.
router
|
| t1
|
[fxp0]
FreeBSD bridge
[fxp1]
|
switch
|
hosts
The problem is that if the external interface is assigned an address, then
Wes Peters wrote:
| On Saturday 01 March 2003 03:12 pm, Giorgos Keramidas wrote:
|| The font of the program text isn't really important, as long as
|| nesting isn't horribly broken by someone who typed the wrong number
|| of spaces instead of just hitting tab.
|
| But the font of the program text
Greetings,
After setting hw.acpi.cpu.performance_speed to 1, a dmesg of
acpi_cpu0: set speed to 6.2%
and a dog slow system, I am still finding my CPU pumping out heat. It's an
AMD 1333 with an A7V board. Is this typical behaviour? If so, I'll just
underclock the CPU in the bios. I was hoping to
- Original Message -
From: Tim Kientzle [EMAIL PROTECTED]
| Cycling through large data sets is not really that uncommon.
| I do something like the following pretty regularly:
| find /usr/src -type f | xargs grep function_name
|
| Even scanning through a large dataset once can really
Greetings,
I have a situation where I am reading large quantities of data from disk
sequentially. The problem is that as the data is read, the oldest cached
blocks are thrown away in favor of new ones. When I start re-reading data
from the beginning, it has to read the entire file from disk
Greetings,
Running 5.0-RELEASE,
# kldload random
induces a panic, presumably unless it is not compiled into the kernel.
sh
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
From: Brian F. Feldman [EMAIL PROTECTED]
| The program plus output given when you recompile/run gdb -k with a
debugging kernel
| would be really useful here.
I can't try it again (the system has gone off to production) but here is the
perl script:
---
#!/usr/bin/perl
system ('atacontrol',
Greetings,
I have tried using both atacontrol and ccdconfig to create stripes and
mirrors of various sizes, and have found that in all cases, read performance
*decreased*.
Is this typical? I have a Promise controller in another computer running
Windows which sees a considerable performance
From: Soeren Schmidt [EMAIL PROTECTED]
| Uhm, what kind of disks, stripesize etc are you using, without that info
| noone can tell you why...
Two Seagate 80GB 7200RPM drives each on their own ATA66 channel. They're not
very fast, but they are quiet. Quick tests with dd show about 20 MB/s reads
Seems my toying with atacontrol caused a reproducable panic. I have a perl
script which causes the panic right away every time, I'll mail that to
anybody @freebsd.org that wants it. (Or is such paranoia unnecessary?)
I believe everything else needed is here.
sh
---
Fatal trap 12: page fault
Greetings,
How does the kernel on the FreeBSD install CD know which device to mount as
root? I'm assuming it hasn't got a ROOTDEVNAME config option, since that
would make it fairly specific to certain hardware.
Mine always tries to mount fd0.
thanks,
sh
To Unsubscribe: send mail to [EMAIL
Greetings,
I have a 2352-byte block mode1 CD image, and wish to burn this with burncd.
I know I can use bin2iso or bchunk to decode it, but I'd rather keep the
block metadata intact from the file itself instead of having the
burner/driver(?) reconstruct it.
I assembled a small stack of coasters
From: Stephen Hilton [EMAIL PROTECTED]
| Am up and running now on the spare HD, and can work on my big
| mistake at my lesiure, thanks in advance.
My first partition:
start 63, size 40130307 (19594 Meg), flag 80 (active)
And an hd of block 63:
###
fc
Greetings,
In short, how safe is umount -f?
I've been given the task of creating a CD jukebox with Samba. I've got a few
dozen ISO images, and a directory with a number of subdirectories named
after all the clients. Then, in samba, I have a share with a path of
/store/images/%m, so each client
Greetings,
Is it possible to get libpcap or bpf to tell me the direction of a packet
going across an interface? They only seem to be able to match source and
destination addresses, which isn't very useful for my application.
thanks,
sh
To Unsubscribe: send mail to [EMAIL PROTECTED]
with
Greetings,
If I read /dev/acd0t1, will the CD-ROM interpolate over scratches and stuff?
Is there any way of identifying them?
thanks,
sh
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
Greetings,
I'm creating ISO images of CDs as advised by the handbook, like so:
# dd if=/dev/acd0c of=blah.iso bs=2k
At the very end of many CDs, dd states acd0: Input/output error and the
kernel says:
acd0: READ_BIG - ILLEGAL REQUEST asc=0x64 ascq=0x00 error=0x04
The .iso seems okay (I can
Greetings,
I have been doing graphics programming in Windows for a few years, and am
interested in broadening my horizons. I'm interested in attempting to get
FreeBSD to switch video modes and gain access to video memory, perhaps to
attempt a simple OpenGL-like implementation or the like,
Greetings,
I just tried to use nanouptime, then microuptime, but was disappointed to
find that a quick grep of /usr/lib revealed no libraries containing these
symbols.
Are they only available to the kernel. If so, how can I get a reasonable
timer figure from user space?
thanks,
sh
To
Greetings,
I'm interested in developing a fairly proprietary IP monitoring solution (I
want to look for specific trends in specific packets.)
Will there be considerable gains from writing some sort of kernel module,
vs. a userspace solution? I've never hacked the kernel or written any sort
of
Also, forgot to mention, I will need to look inside TCP streams, and know
which user owns them, and which packets pertain to which TCP stream, which
is why I was thinking a module would be more suitable. If I did this in user
space, I'd have to reconstruct the streams myself (but as I understand,
From: Doug White [EMAIL PROTECTED]
You should check that your network configuration is correct first, then
use tcpdump to locate the offender and report them to your provider. They
can ask the owner of said machine politely to install the patches or set
/proc flags to disable that behavior.
Greetings,
I have a FreeBSD box being colocated. Every few seconds, I get the following
message:
/kernel: arplookup 216.187.x.x failed: host is not on local network
As I understand, this 216.187.x.x machine is acting as a proxy arp. I
think it's supposed to be completely transparent, but
Greetings,
kldload linux dies unless
optionsSYSVSEM
is in the kernel. Is there some way around this? (I have no other use for
it, and try to be minimalist...)
Also, are there other approaches to Linux binary compatibility? Is there
some type of wrapper, which will load and execute the
40 matches
Mail list logo