Re: Unhappy with cross-worlding

2010-11-16 Thread Peter Jeremy
ed the architecture from AMD and renamed it. By the time Intel had called it EM64T, the FreeBSD Project decided it was too late to rename its port. That said, this has caused a degree of confusion over the years. -- Peter Jeremy pgp8z2gUE46vO.pgp Description: PGP signature

Re: Greetings

2010-12-01 Thread Peter Jeremy
its my skill set. I suggest you have a read through http://www.freebsd.org/projects/ideas/ to find something that sounds interesting to you and then contact the relevant person. If no contact is shown then ask about it here. -- Peter Jeremy pgpa6M4hDHi0x.pgp Description: PGP signature

Re: [GSoc] Timeconter Performance Improvements

2011-03-25 Thread Peter Jeremy
rent CPU, resulting in an incorrect page being accessed. -- Peter Jeremy pgpHImAnkRcSI.pgp Description: PGP signature

Re: [GSoc] Timeconter Performance Improvements

2011-03-26 Thread Peter Jeremy
bably some others as well). r217151 for amd64 and r217400 for ppc. It doesn't appear to be supported on other platforms. My reading of the code is that there is a single shared page used by all processes/CPUs. In order to support non-synchronised TSCs, this would need to be changed to per-CPU. --

Re: Prebind from OpenBSD

2011-03-28 Thread Peter Jeremy
x27;m not sure if you've take into account is process- initiated library loading (using dlopen(3) and friends). Note that even /bin/sh can do this through things like locale handling. -- Peter Jeremy pgpj6ptimMgB2.pgp Description: PGP signature

Re: Active slice, only for a next boot

2011-05-31 Thread Peter Jeremy
#x27;s boot >code sees that slice 4 is active and boots slice 4. Multibooting worked correctly when I last used it (a few years ago). Have you raised this as a PR? >RS-232 console + hardware modem + POTS = remote console And even that doesn't fully work unless you have a serial-aware

Re: [PATCH] bogus use of __linux__ in aicasm

2011-07-02 Thread Peter Jeremy
end-pr to formally log them so they don't get lost. -- Peter Jeremy pgpfo8hhIEWmy.pgp Description: PGP signature

Re: invalid argument in select() when peer socket is in FD_SET

2011-08-02 Thread Peter Jeremy
of_fds[i], &readfds); > } -- Peter Jeremy pgpdiN44x0CiJ.pgp Description: PGP signature

Re: ZFS installs on HD with 4k physical blocks without any warning as on 512 block size device

2011-08-22 Thread Peter Jeremy
d out from CVS 467 485 509557656 /usr/src 8-stable checkout from CVS Note that the ports tree grew by 50% going from 1K to 2K frags and will grow by another 70% going to 4KB frags. Similar issues will be seen when you have lots of small file. -- Peter Jeremy pgp3V7msgMGk0.pgp Description: PGP signature

Re: excessive use of gettimeofday(2) and other syscalls

2011-09-06 Thread Peter Jeremy
ick but there is no standard for this. -- Peter Jeremy pgpvoAwjmooj4.pgp Description: PGP signature

Re: excessive use of gettimeofday(2) and other syscalls

2011-09-09 Thread Peter Jeremy
hat may not be as accurate as the author intended. I think a better way of looking at the problem is that some code was designed on the assumption that certain operations were cheap and therefore uses those operations more freely than it would have had those operations been more expensive. -- Peter Jer

Re: Measuring memory footprint in C/C++ code on FreeBSD

2011-10-21 Thread Peter Jeremy
he best interface on FreeBSD would be kvm_getprocs(3). BTW, since you mention heap objects, I presume you are aware that malloc() uses mmap(), rather than sbrk() to obtain memory. -- Peter Jeremy pgphug33XKVIW.pgp Description: PGP signature

Re: Porting FreeBSD to Raspberry Pi

2011-11-03 Thread Peter Jeremy
sure how practical it would be. http://www.raspberrypi.org/archives/28 makes it fairly clear that the multimedia side will be all closed source and relevant datasheets will not be available. -- Peter Jeremy pgpjYASZmxhP3.pgp Description: PGP signature

Re: reducing compiler instances during buildkernel

2011-11-06 Thread Peter Jeremy
up enough to return to that state. If you really want to trim low-hanging fruit, try disposing of libtool and GNU configure instead - their overheads are _many_ orders of magnitude higher than make exec()ing gcc. -- Peter Jeremy pgpi5RM6Xcqpb.pgp Description: PGP signature

Re: FreeBSD has serious problems with focus, longevity, and lifecycle

2012-01-22 Thread Peter Jeremy
current driver, or who is having a serious issue with the current driver will want the update. Someone who isn't having problems won't want to touch their driver in case it introduces problems with their system. -- Peter Jeremy pgpVm8HHD84Kg.pgp Description: PGP signature

Re: Graphical Terminal Environment

2012-03-07 Thread Peter Jeremy
OS provide a mode that suits your monitor, you will need custom driver code. -- Peter Jeremy pgpavw3qB3HKy.pgp Description: PGP signature

Re: NFS - slow

2012-04-30 Thread Peter Jeremy
synchronous write to disk before it can return the acknowledgement back to the client. -- Peter Jeremy pgpDukb68dqQA.pgp Description: PGP signature

Re: proper newfs options for SSD disk

2012-05-24 Thread Peter Jeremy
On 2012-May-18 22:54:43 +0200, Dimitry Andric wrote: >Be sure to use "-t enable" when creating the filesystem: Only if your SSD supports TRIM. Some consumer-grade SSDs don't and get very confused if sent TRIM commands. -- Peter Jeremy pgp2LuXn5iRWb.pgp Description: PGP signature

Re: proper newfs options for SSD disk

2012-05-25 Thread Peter Jeremy
- firefox generates quite a heavy write load during normal use. Moving the cache to /tmp will help but I don't think there's any complete solution. Also, you're probably better off running a traditional lightweight window manager than something like KDE or Gnome. -- Peter Jeremy pgpxd8fhB1HUY.pgp Description: PGP signature

Re: detailed map of WIRED memory under FreeBSD 9

2012-06-03 Thread Peter Jeremy
er-process level. Unfortunately, the only documentation appears to be the source (sys/fs/procfs/procfs_map.c) -- Peter Jeremy pgpPIwypWnWVm.pgp Description: PGP signature

Re: FreeBSD Boot Times

2012-06-15 Thread Peter Jeremy
On 2012-Jun-13 21:55:22 +0200, Hans Petter Selasky wrote: >Try setting: > >sysctl hw.usb.no_boot_wait=1 Note that this is a tunable and will need to be specified in /boot/loader.conf to have any effect. -- Peter Jeremy pgpojiOBCDYfk.pgp Description: PGP signature

Re: Upcoming release schedule - 8.4 ?

2012-06-15 Thread Peter Jeremy
explained. You are the only person that is claiming that 8.x is EOL. I have not seen any official announcement to that effect. The absence of an announcement of 8.4-release does not make it EOL. -- Peter Jeremy pgpxLxs9FqeLP.pgp Description: PGP signature

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-20 Thread Peter Jeremy
rc scripts. I know dougb@ regularly picks up issues with new & updated ports but it's not realistic to rely on him manually picking up every rc script error. -- Peter Jeremy pgpvt6oBaRAkM.pgp Description: PGP signature

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Peter Jeremy
for input" timeouts. The kernel amounts for 10% of the total time and 50% of that is 4 devices. I intend to work through the rc process in more detail to see where I can reduce the elapsed time. -- Peter Jeremy pgpfk36pZhHvM.pgp Description: PGP signature

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Peter Jeremy
On 2012-Jun-21 10:09:01 -0700, Doug Barton wrote: >On 06/21/2012 05:28 AM, Peter Jeremy wrote: >> 32.0s - rc scripts ("mounting root" through VTY login prompt) > >I think that there is some confusion about what I wrote originally, so >let me clarify. From the time tha

Re: Replacing rc(8) (Was: FreeBSD Boot Times)

2012-06-21 Thread Peter Jeremy
his). >there is IMHO already too much automata in default FreeBSD: >default /etc/crontab, /etc/newsyslog.conf and /etc/periodic directory. > >All gets deleted by me as soon as i install FreeBSD. You are free to disable or delete as much of FreeBSD as you like but I personally prefer my systems to reduce my workload by automating normal maintenance tasks. -- Peter Jeremy pgp749EyaVr0n.pgp Description: PGP signature

contigmalloc() breaking Xorg

2012-07-03 Thread Peter Jeremy
sts.freebsd.org/pipermail/freebsd-hackers/2011-February/thread.html asks the same question but just peters out. -- Peter Jeremy pgpuclQzdFSg9.pgp Description: PGP signature

Re: contigmalloc() breaking Xorg

2012-07-03 Thread Peter Jeremy
On 2012-Jul-03 21:17:53 +1000, Peter Jeremy wrote: >Does anyone have a tool that can display physical RAM allocation? >This would at least allow me to identify offending allocations. >http://lists.freebsd.org/pipermail/freebsd-hackers/2011-February/thread.html >asks the same quest

Re: install-prompt for missing features (Was: Re: Pull in upstream before 9.1 code freeze?)

2012-07-04 Thread Peter Jeremy
their .profile/.login/.[t]cshrc files. Note that I'm not currently interested in this functionality and am not volunteering to implement it. -- Peter Jeremy pgpLiwmiVDNPP.pgp Description: PGP signature

Re: Pull in upstream before 9.1 code freeze?

2012-07-05 Thread Peter Jeremy
ND } wired into gcc to help people migrating from Algol and Pascal. -- Peter Jeremy pgp8dpJReQa4x.pgp Description: PGP signature

Re: contigmalloc() breaking Xorg

2012-07-08 Thread Peter Jeremy
On 2012-Jul-03 21:17:53 +1000, Peter Jeremy wrote: >I have a reasonably recent 8-stable/amd64 system (r237444) with a "ATI >Radeon HD 2400 Pro", xorg-server-1.10.6,1 and xf86-video-ati-6.14.3_1 >8GB RAM and ZFS. I'm seeing fairly consistent problems with Xorg ... >H

Re: Replacing BIND with unbound (Was: Re: Pull in upstream before 9.1 code freeze?)

2012-07-09 Thread Peter Jeremy
for handling the private hosts in a SOHO environment? -- Peter Jeremy pgpJAciudHfKN.pgp Description: PGP signature

Re: Replacing BIND with unbound 9.1 code freeze?)

2012-07-09 Thread Peter Jeremy
Firstly, I should note that I'm not against removing bind from base. I'm merely saying that users are going to need some guidance during the transition. On 2012-Jul-09 13:52:15 -0700, Doug Barton wrote: >On 07/09/2012 13:47, Peter Jeremy wrote: >> On 2012-Jul-09 14:15:1

Re: Replacing BIND with unbound

2012-07-09 Thread Peter Jeremy
the following be installed as /usr/bin/nslookup: #!/bin/sh echo "nslookup is no longer supported. Please see drill(1) or host(1)" >&2 exit 1 -- Peter Jeremy pgpP08j1bRN4J.pgp Description: PGP signature

Re: kqueue timer timeout period

2012-07-11 Thread Peter Jeremy
age rate should be very close to that requested. -- Peter Jeremy pgpaFY3z3IfaV.pgp Description: PGP signature

Re: contigmalloc() breaking Xorg

2012-08-08 Thread Peter Jeremy
dmamem tag when it starts). It all seemed to work OK. I haven't tried it on the box where I originally saw the problem because that's running 8.x. I'll have a look at backporting your and alc@'s fixes when I get some spare time. -- Peter Jeremy pgpNNsdrw2Bk7.pgp Description: PGP signature

Re: Unsigned Integer Encoding

2012-08-15 Thread Peter Jeremy
are not encoded in >reverse form). I suggest you look at xdr(3) and rpcgen(1) -- Peter Jeremy pgpSy5s1R6Dmk.pgp Description: PGP signature

Re: Building with WITH_DEBUG (-g) in make.conf

2012-09-06 Thread Peter Jeremy
erent, is that both -g and other debugging options will >generally cause compiling and linking to take longer, since these stages >will have to process the additional debug information. As well as being much larger - several times larger is not uncommon. This further slows things down due to t

Re: make -jN buildworld on < 512MB ram

2012-10-31 Thread Peter Jeremy
ure as a whole then the scheduler just stops scheduling some of them until the pressure reduces (effectively swap them out). (Yes, that's vague and lots of hand-waving that might not be realisable). -- Peter Jeremy pgpOxQEkEC3S2.pgp Description: PGP signature

Re: make -jN buildworld on < 512MB ram

2012-10-31 Thread Peter Jeremy
so they all SIGCONT their children. Repeat. (Note that any scheduler changes also need to cope with this). [*] Typical cc1/cc1plus behaviour is to steadily grow as the input is processed. At higher optimisation levels, parse trees are not freed at the end of a function to all

Re: FreeBSD for serious performance?

2012-12-11 Thread Peter Jeremy
a way to boot from different partitions, much less >>> different disks with GPT. Yes, this is a limitation of FreeBSD's GPT loader. So far, no-one has written the code to support multiple boot partitions or disks. Note that most BIOS's allow you to select the boot disk - which is a workaround. -- Peter Jeremy pgpgEyjjmIWvx.pgp Description: PGP signature

Re: FreeBSD for serious performance?

2012-12-26 Thread Peter Jeremy
ivers causing the system to lockup. And I don't recall (offhand) seeing other reports of it. This again points to a problem with your particular configuration, rather than FreeBSD. >And other, non-disk drivers have the same problem of locking out >other drivers, even during normal operation. And this happens on >yet other drivers on other people's hardware, not just mine. Can you provide mailing list or PR references to these. -- Peter Jeremy pgpxxy322gDTO.pgp Description: PGP signature

Re: IBM blade server abysmal disk write performances

2013-01-18 Thread Peter Jeremy
ance. Apart from continuous whinging and whining on mailing lists, what have you done to add support for queuing? -- Peter Jeremy pgpPelv8iAQPo.pgp Description: PGP signature

Re: ZFS regimen: scrub, scrub, scrub and scrub again.

2013-01-21 Thread Peter Jeremy
rives weighs in at 36 hours or so. > >which is funny as ZFS is marketed as doing this efficient (like checking >only used space). It _does_ only check used space but it does so in logical order rather than physical order. For a fragmented pool, this means random accesses. >Even better

Re: Help porting Linux app - getting Free Memory and Real Memory

2013-03-28 Thread Peter Jeremy
gt;printf("Total VM Memory: %i\n",vmsize.t_vm); >printf("Total Real Memory: %i\n",vmsize.t_rm); >printf("shared real memory: %i\n",vmsize.t_rmshr); >printf("active shared real memory: %i\n",vmsize.t_armshr); >printf("Total Fr

Re: GSOC 2013 project " Kernel Size Reduction for Embedded System "

2013-04-11 Thread Peter Jeremy
On 2013-Apr-09 11:05:56 -0700, Freddie Cash wrote: >You have to look at the in-memory sizes, not the on-disk sizes. Or, even better, look at the difference between installed physical RAM and how much RAM is available to userland processes. -- Peter Jeremy pgpOHqKqYTU0M.pgp Description:

Re: seeding randomness in zee cloud

2013-05-31 Thread Peter Jeremy
s (which should be done automatically via IRQ harvesting) and junk into /dev/random. -- Peter Jeremy pgpeZ4geVWmT_.pgp Description: PGP signature

Re: unique hardware identification

2007-02-01 Thread Peter Jeremy
r whitebox desktops either don't have the data populated or don't report it at all. -- Peter Jeremy pgpmFjOmTnU2t.pgp Description: PGP signature

Re: PING: Someone on the core team. (Modem Problem)

2007-02-09 Thread Peter Jeremy
there are plenty of IRQs available that can be >used (serial, parallel are turned off in the BIOS). Probably because your motherboard vendor decided to save a few deci- cents by not bothering to connect up all the available interrupt inputs and just share one. This isn't FreeBSD - it's the copper tracks on your motherboard. -- Peter Jeremy pgpc7wd5PSWnP.pgp Description: PGP signature

Re: PING: Someone on the core team. (Modem Problem)

2007-02-09 Thread Peter Jeremy
motherboard/BIOS is broken). > And if it doesn't support irq sharing, then >why is FreeBSD assigning 2 devices to the same irq to begin with? FreeBSD does support shared interrupts on busses that support them and is assigning interrupts based on information from the hardware. -- Peter Jeremy pgpr1eBARhAGz.pgp Description: PGP signature

Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

2007-02-09 Thread Peter Jeremy
ge in the base system. > >Would perl be close enough to count, or would it have to be C/C++? Perl was removed in 5.x. Your options are shell, awk and C/C++. -- Peter Jeremy pgpgn9xqL6jDU.pgp Description: PGP signature

Re: sin()/cos()/tan() for kernel code? '_ 'a

2007-02-11 Thread Peter Jeremy
This is an efficient way to do fixed-point trigonometry. -- Peter Jeremy pgp0vXse5QR9A.pgp Description: PGP signature

Re: PING: Someone on the core team. (Modem Problem)

2007-02-15 Thread Peter Jeremy
ch the source code (look for FIFO_RX_MEDH in /usr/sys/dev/sio/sio.c if you want to go down this path). > With a port speed of 2400, I do not drop characters. The FIFO is not enabled at speeds at or below 4800bps. -- Peter Jeremy pgp6xD58xJe5F.pgp Description: PGP signature

Re: PING: Someone on the core team. (Modem Problem)

2007-02-17 Thread Peter Jeremy
at card and may behave slightly better for you. On 2007-Feb-16 12:51:37 -0800, Daniel Rudy <[EMAIL PROTECTED]> wrote: >overflows. Is there a way for force the driver to attach as fast since >it's not doing it? sio tries to attach as fast and falls back to the default if that fa

Abyssmal dump cache efficiency

2007-02-17 Thread Peter Jeremy
from disk must be faster than reading it. I believe it would be worthwhile creating a todo item to investigate this more thoroughly. -- Peter Jeremy pgpK6PD6QiXC4.pgp Description: PGP signature

Re: PING: Someone on the core team. (Modem Problem)

2007-02-17 Thread Peter Jeremy
want. uart(4) is a more recent serial driver and I believe it will supplant sio(4) in time but I believe there are still some kludges that require sio. I'm glad you resolved your problems. -- Peter Jeremy pgpzJIopmzRS2.pgp Description: PGP signature

Re: Fwd: Abyssmal dump cache efficiency

2007-02-20 Thread Peter Jeremy
On 2007-Feb-20 02:47:00 -0500, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote: >On 2/17/07, Peter Jeremy <[EMAIL PROTECTED]> wrote: >>I've tried modelling a unified cache along the NetBSD line and there >>appears to be a massive improvement in cache performance

Re: Progress on scaling of FreeBSD on 8 CPU systems

2007-02-26 Thread Peter Jeremy
g Those results look wonderful. Have you tried increasing the number of threads to see if there's any nasty knee further to the right? Also, is there any chance of repeating this testing on one of the big Suns (or a T2000) to see how this scales to lots of cores? -- Peter Jeremy pgpiC3VL

Re: kernel panic at boot on any 6.x OS

2007-02-26 Thread Peter Jeremy
f (or even a 'set -x' if you are getting really desperate). This will make the boot sequence far more verbose. -- Peter Jeremy pgpNwLl9rfgvj.pgp Description: PGP signature

Re: How should i start working on kernel programming?

2007-03-03 Thread Peter Jeremy
ernel level code were different. Yes. The internal kernel interfaces are defined in the section 9 man pages. -- Peter Jeremy pgpvLYXBRJztD.pgp Description: PGP signature

Re: How should i start working on kernel programming?

2007-03-05 Thread Peter Jeremy
cripts/README I haven't tried setting breakpoints but other kgdb functions work with KLDs. -- Peter Jeremy pgpwMNcpBaKp8.pgp Description: PGP signature

Re: gcc plain binary format

2007-04-05 Thread Peter Jeremy
Ttext 0x0 -e main -s --oformat binary -o foo.bin foo.o -lc This won't work because libc in intended to work in an environment hosted on FreeBSD and needs infrastructure that is part of crt*.o Have a look in (eg) /usr/src/sys/boot/i386 for code that is intended to run without the kernel. -- Pete

Re: RFI: Ethernet driver ported from Linux

2007-04-21 Thread Peter Jeremy
ring (eg the CPU fans run at >16,000RPM). -- Peter Jeremy pgpYnogAgTv7J.pgp Description: PGP signature

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-11 Thread Peter Jeremy
oding this metadata in a sane and easy to parse >XML structure. Relying on undocumented features of tools is rarely a good idea. tar has other disadvantages (particularly the lack of random access) as a ports archive format. ZIP was suggested as an alternative. I also question the combination of "sane", "easy to parse" and "XML". -- Peter Jeremy pgpCiBmSG1qTp.pgp Description: PGP signature

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-11 Thread Peter Jeremy
elete them all. Rename/chmod is much cheaper than copying the files (and something tar does anyway - you are just delaying it). This has the added benefit that nothing else can use the package until it's completely unpacked. -- Peter Jeremy pgpjQ4s6eMByT.pgp Description: PGP signature

Re: DPS Initial Ideas

2007-05-12 Thread Peter Jeremy
database to hand >edit the Berkeley db. Very trivial effort - if we had a need for it, someone could write the necessary few dozen lines and commit it. The downside is that since BDB isn't self documenting, a flat file may not be any use. -- Peter Jeremy pgp4DdQEuksZO.pgp Description: PGP signature

Re: DPS Initial Ideas

2007-05-13 Thread Peter Jeremy
00 times). >Yes, and i don't buy the idea that using *existing* tools is better than >using the best tool for the job (assuming one can prove what is the best tool, >considering power, familiarity, etc.). Demonstrate a better tool. -- Peter Jeremy pgpy0PFUTL4bF.pgp Description: PGP signature

Re: DPS Initial Ideas

2007-05-15 Thread Peter Jeremy
On 2007-May-14 09:36:52 -0400, Mike Meyer <[EMAIL PROTECTED]> wrote: [Linux package systems] >As far as I know, none of them handle updates from source at all. In >fact, dealing with sources seems to be a noticable weakness for them. This pretty much rules them out then. --

Re: Looking for speed increases in "make index" and pkg_version for ports

2007-05-29 Thread Peter Jeremy
't believe this is practical. Both package names and port dependencies depend on the options that are selected as well as what other ports are already installed. A centralised ports server is not going to have access to this information. -- Peter Jeremy pgpfPtzrTbSlc.pgp Description: PGP signature

Re: Looking for speed increases in "make index"

2007-05-29 Thread Peter Jeremy
imilar scripting languages are out. Whilst make seems the obvious choice for the ports infrastructure, in reality, the infrastructure does not really need or use the sort of implicit dependency tracking and target transformations that make excels at. Of course, any alternative to make needs t

Re: Looking for speed increases in "make index" and pkg_version for ports

2007-05-29 Thread Peter Jeremy
ists would seem amenable to the same approach - though the entry level tool will have far lower coverage due to the extensive use of USE_GNOME=... and similar 'macro'-style constructs. -- Peter Jeremy pgpCyJ5Uh8Myq.pgp Description: PGP signature

Re: Looking for speed increases in "make index" and pkg_version for ports

2007-05-29 Thread Peter Jeremy
v/null sh -c > /dev/null 3.34s user 18.54s system 98% cpu 22.110 total i386% time sh -c 'i=0; while [ $i -lt 1 ]; do i=$(($i+1)); /bin/sh -c "echo foo"; done' >/dev/null sh -c > /dev/null 12.03s user 29.42s system 98% cpu 41.965 total i386% time sh -c 'i=0; while [ $i -lt 1 ]; do i=$(($i+1)); /bin/sh -c "echo foo"; done' >/dev/null sh -c > /dev/null 12.20s user 29.25s system 98% cpu 41.975 total -- Peter Jeremy pgpUpeOoZw3YV.pgp Description: PGP signature

Re: Disk block or sector to file mapping?

2007-06-15 Thread Peter Jeremy
t be read can often be written. >and you're stuck simply replacing the disk entirely. Bad blocks have a >tendency to spread too... Definitely - once the number of soft errors starts increasing, it's time to replace the disk. -- Peter Jeremy pgpnF1TqmMnnw.pgp Description: PGP signature

Re: Using shell commands versus C equivalents

2007-06-17 Thread Peter Jeremy
ir final names. This is a comparatively cheap operation (as long as you aren't running UFS without softupdates). >I'll definitely look into strace'ing (not really a big fan of truss(1) > yet) the operation though, just to see how fast or slow stuff is. ktrace can also provide timings. -- Peter Jeremy pgp0x3mMEp4nG.pgp Description: PGP signature

Re: Making sense of ktrace(1) output

2007-06-18 Thread Peter Jeremy
On 2007-Jun-18 00:39:44 -0700, Garrett Cooper <[EMAIL PROTECTED]> wrote: > However, I was able to get ktrace output. The only problem is that ktrace(1) > apparently outputs only in binary, instead of plaintext output. Can I > convert it to plaintext somehow and process it? kdum

Re: Making sense of ktrace(1) output

2007-06-18 Thread Peter Jeremy
ready accumulate the output from multiple files so this patch gives you the ability to profile multiple executions of a single executable. You will still need to glue together the profiling results from each executable. -- Peter Jeremy pgpvYf1SIv8wB.pgp Description: PGP signature

Re: Making sense of ktrace(1) output

2007-06-20 Thread Peter Jeremy
ehaviour of (eg) rtld. -- Peter Jeremy pgpXQNdgsDDXY.pgp Description: PGP signature

Re: 6.1 - amd64 arch. Hangs twice a day, how can i debug problem

2007-06-26 Thread Peter Jeremy
recall this particuar problem being reported. That said, you appear to be running a 9 month old -stable - have you considered updating to either 6.2 or a more recent -stable? -- Peter Jeremy pgpsgXJnIDnMJ.pgp Description: PGP signature

Re: add closefrom() call

2007-07-16 Thread Peter Jeremy
it I can think of is minimising the number of syscalls. Is there any other benefit? -- Peter Jeremy pgphsTYS4NCig.pgp Description: PGP signature

Re: Path to executable of current process?

2007-07-20 Thread Peter Jeremy
len = sizeof(struct kinfo_proc); > if (sysctl(mib, 4, &ki_proc, &len, NULL, 0) == -1) And the buffer argument should be char[], not struct kinfo_proc. -- Peter Jeremy pgp5pk4M5uA63.pgp Description: PGP signature

Re: gcc -m32 option on amd64.

2007-07-27 Thread Peter Jeremy
eds more work. Note that non-trivial code will break because points at amd64 headers whilst the -m32 compiler needs i386 headers in many cases. There's a non-trivial amount of work needed to actually get cross-building working. I suggest you look throught the FreeBSD-amd64 archives. -- Peter Jeremy pgp0amIJul1Bq.pgp Description: PGP signature

Re: gcc -m32 option on amd64.

2007-07-28 Thread Peter Jeremy
i386 executable built on amd64 will point to /libexec/ld-elf32.so.1, rather than /libexec/ld-elf.so.1) so the result won't execute on a FreeBSD/i386 box - but I don't see that as a problem with ld, rather the configuration. -- Peter Jeremy pgplaH2VDcPfe.pgp Description: PGP signature

Re: CPU activity as percentage.

2007-08-04 Thread Peter Jeremy
d to look at the change in counters over a defined period. -- Peter Jeremy pgpzdutJbUl9D.pgp Description: PGP signature

Re: linuxolator problem on amd64

2007-08-22 Thread Peter Jeremy
On 2007-Aug-22 12:13:48 +0400, sam <[EMAIL PROTECTED]> wrote: >Minimum system requirements: ... >- Kernel 2.6, configured for 1000Hz tick and other low latency settings FreeBSD currently only emulates kernel 2.4. Kernel 2.6 is a SoC project. -- Peter Jeremy pgp900LFNqMKV.pgp Desc

Re: Exclusive binary files

2007-09-01 Thread Peter Jeremy
D in sys/sys/elf_common.h and rebuild). You would need to use brandelf to patch executables built on other FreeBSD systems. There's a set of patches implementing mac_chkexec floating around see (eg) http://lists.virus.org/freebsd-security-0503/msg00042.html This might do what you want.

Re: CVSUP Connection Problem

2007-10-13 Thread Peter Jeremy
99 on the CVSup server. -- Peter Jeremy pgp8eROhMga6d.pgp Description: PGP signature

Re: Creating install CD with custom ports - how to massage INDEX file?

2007-10-16 Thread Peter Jeremy
ilt. That >allows the dependency graph to be calculated and the INDEX-6 file to be >built properly. In which case, you should be able to "cd /usr/ports && make index" -- Peter Jeremy pgpUHKyAI7zJb.pgp Description: PGP signature

Re: Filesystem snapshots dog slow

2007-10-17 Thread Peter Jeremy
ld significantly increase the I/O performance. Whilst it doesn't make sense to read more than you need, there still appears to be plenty of scope to combine writes. Between these two items, I would expect potential performance gains of at least 20:1. Note that I'm not suggesting t

Re: packages, libfetch, and SSL

2007-10-23 Thread Peter Jeremy
On Sun, Oct 21, 2007 at 08:28:19PM -0700, David E. Thiel wrote: >Sounds fine to me - I'll take a closer look at this. I'd still like >to see the root CA certs merged into base so libfetch can be fixed. So would I. >Does anyone object to just using the ones currently provided by the >ca_root_nss p

Re: floating point operations

2007-11-02 Thread Peter Jeremy
On Thu, Nov 01, 2007 at 10:40:04AM +1100, James Healy wrote: >The remaining op is not easily converted to fixed point math, and we're >wondering what impact a single flop on the receipt of each ACK will >have. We don't have a strong understanding of the amount of overhead >involved in executing a f

Re: timers and semtimedop(2)

2007-11-03 Thread Peter Jeremy
On Thu, Nov 01, 2007 at 01:41:10PM -0400, Michael B Allen wrote: >I need semtimedop(2). I'm thinking I can just do a semop with a SIGINT maybe. I presume you mean SIGALRM. >Can someone suggest a good method for setting up a timer to deliver >the signal? What sort of timers does FreeBSD offer? As

Re: Some FreeBSD performance Issues

2007-11-10 Thread Peter Jeremy
'm only getting one character output per time slice, or >something like that? Maybe, though I don't understand why this would occur. If you time(1) your program, what are the real/user/system time breakdown? That will help clarify where the slowdown is located. Have you tried the dd(

Re: Some FreeBSD performance Issues

2007-11-12 Thread Peter Jeremy
gests it's a problem with your code, rather than FreeBSD. Have you check the ktrace output from your code or time(1)d it as suggested? -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an RFC2821-compliant MTA. pgptNezorRMJ0.pgp Description: PGP signature

Re: How to get filename of an open file descriptor

2007-11-13 Thread Peter Jeremy
This is an inherent part of the Unix approach to files. You could look at ports/sysutils/lsof or fstat(1). -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an RFC2821-compliant MTA. pgpQPdPjDBoxX.pgp Description: PGP signature

Re: Hooking a kernelmodule-function into a timer interrupt

2007-11-21 Thread Peter Jeremy
ach clock >tick, but I don't know where, or how. Any tips would be very welcome. I presume that the exact rate is not critical. My suggestion would be to create a kernel thread (see kthread(9)) that uses a callout (see timeout(9)) to wake it every tick. -- Peter Jeremy Please excuse

Re: Need for SysV IPC to be confined to jail instances

2007-11-24 Thread Peter Jeremy
.freebsd.org/pipermail/freebsd-current/2006-April/062261.html -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. pgp5VSsD43uRw.pgp Description: PGP signature

Re: Stale mount on disconnected device: how to delete it?

2007-12-17 Thread Peter Jeremy
rk-around is to use ports/emulators/mtools rather than mount_msdosfs to to access removable devices. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. pgpRNb81cJxRx.pgp

Re: critical floating point incompatibility

2007-12-20 Thread Peter Jeremy
l/freebsd-stable/2007-November/037947.html -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. pgpuVHlsgX4TJ.pgp Description: PGP signature

Re: BSD license compatible hash algorithm?

2007-12-28 Thread Peter Jeremy
aware of the >NULL argument, no filename 'clause' with dbopen(3). Other option might be the Fowler/Noll/Vo Hash in -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behav

Re: printing boot probe messages

2007-12-29 Thread Peter Jeremy
weird behaviour in >the kernel: if you set the number of vtys from the default 16 down to 8, >that caused me to lose keyboard input to my X11. None of this should happen either. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. pgpQ9UMnq0wbU.pgp Description: PGP signature

  1   2   3   4   5   6   >