Re: Slab Allocator And Wait Queues
On Tue, Dec 04, 2007 at 05:17:51PM -0800, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bubble Reading wrote: Hi, Does someone know if there is something like Linux Slab Allocator and Linux Wait Queues in FreeBSD? I am trying to port a linux code to FreeBSD which makes use of these. Do you mean kernel code or userland code? That is a vital piece of information missing... For slab allocator, FreeBSD provided a mechanism called UMA which provided similar functionality; For the in-kernel case, yes. Specifically, take a look at uma_zcreate(9) A question I have though: AFAIK, in Linux, SLAB would be used for most in-kernel memory management if configured. For example, in DSLinux (Linux port to Nintendo DS, see http://dslinux.org), we replaced SLAB with SLOB, because the latter is more space-efficient on hardware with no MMU. IIRC, switching the allocator required no changes to the kernel code whatsoever, it was all abstracted away by kalloc. Doesn't FreeBSD's malloc(9) abstract the in-kernel memory allocation scheme the same way? Wait queues... We usually use msleep(9) and wakeup(9), but I am not sure if that is what you want... Possibly kqueue(2) might also be of interest, but then again we don't know yet what Mr. Reading wants exactly :) -- stefan http://stsp.name PGP Key: 0xF59D25F0 pgpjM0qZh5LbJ.pgp Description: PGP signature
Re: [RFC/P] Port System Re-Engineering
Le lundi 03 décembre 2007 19:37, Ade Lovett a écrit : I'll thank you for not putting words into my mouth. Actually, we will thank you for not putting any more words in your own mouth. You seem unable to grasp even basic statistical fundamentals of what a survey entails, and have repeatedly worked on the basis that somehow anyone who even points out the simplest of flaws is part of the them camp. You seem to be the average geek fundamentally unable to head up and look at the real world around you. Statistics are simply not the point. Aryeh is trying to gather new ideas, possibly different from his own. If they are representative, it's a plus. But who cares if he doesn't manage to gather enough information? He is not doing a poll on behalf of any company that would like perfectly detailed results, AFAIK. This is not us vs them. You've decided to take on, as countless others before you have done, an attempt at changing status quo without providing even the basics, let alone prototypes, as to how it *might* be done. They are not talking about how but what might be done, something you even didn't mention in your own mails. Quite frankly, this appears to be nothing more than random thoughts, with not even an iota of concrete information to back it up. Naturally, I can't speak for the FreeBSD community at large, but from this keyboards perspective, you're doing nothing other than wasting time. Prove me wrong. Consider it a challenge. Who are you to deserve that someone would have to cope with stupid challenges in order to obtain answers from you? You don't want to give your opinion, do you? That's fine. It simply won't be taken into account. But, please, leave away from discouraging others or trying to make them waste their time. And just a final word about your older statements: Just exactly what have you done for FreeBSD to the point where you believe you are able to state such a sentence? I certainly wouldn't dream of writing something like this -- you can check ports/ commit logs for my background. Do you really think your background will protect you from criticism? Do you really think quantity is related to quality? At least, you've left this thread, and that's better for everybody. Please consider growing up before posting such null and void answers. Olivier Certner ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: has FreeBSD's libc been swigged?
Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck Robey wrote: Need to do some python work, using a lot of FreeBSD's base libs, and I was wondering, if any ports have swigged the FreeBSD libs? I'll do it if I must, just trying to save me some work. py-freebsd? I need to look at this harder, but I must say, after a quick perusal, it sure seems to be just exactly what I was after, so my thanks! ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [RFC/P] Port System Re-Engineering
On Sunday 02 December 2007 10:01, Aryeh M. Friedman wrote: 1. What is more important to your personal use of FreeBSD (the ports system, the underlaying OS, some other aspect)? FreeBSD man pages seem alot more helpful than their Linux counterparts. And I can understand FreeBSD Source Code while Linux Code remains obscure to me. 2. How frequently do you interact with the ports systems and what is the most common interaction you have with it? I live in Britain and I don't yet have a Broadband Connection, so I don't access the Ports. I dual-boot Linux for its software, sharing data via an ext2 Partition. 3. What is the single best aspect of the current system? The standard two FreeBSD Install CDs provide a good compact distro by themselves. Gnumeric is the only package I really miss. 4. What is the single worst aspect of the current system? Here in UK we have Cottage Industries (like Maxtux) supplying downloadable Unix Install CDs DVDs at bargain prices. I couldn't find any FreeBSD Ports on downloadable CD. 5. If you where a new FreeBSD user how would your answers above change? If you where brand new to UNIX how whould they change? I'd still be trying to figure out what it all meant. 6. Assuming that there was no additional work on your behalf would you use a new system if it corrected your answer to number 4? Suppose you issued sections of Ports System on individual CDs, maybe with an individual Install Utility on each. I'm sure the UK Cottage Industry would market these. It depends whether you want to look like a Linux Distro. 7. Same as question 6 but for your answer on question 3? Sometime I'll get Broadband and then the Ports will be more accessible for me, however they're provided. 8. How long have you used FreeBSD and/or UNIX in general? I've used Linux increasingly since 1999. I discovered FreeBSD several years ago after getting tired of Political Correctness and obscure Source Code. I finally disentangled myself from MS Windows this year. 9. That is your primary use(s) for your FreeBSD machine(s) (name upto 3)? 1: Internet Access. 2: I'm developing a CD-Writing Utility for Data Backup, which is my own original creation and completely independent of mkisofs and cdrecord. 10. Assuming there is no functional difference what is your preferred installation method for 3rd party software? CD / DVD distro at present. 11. On a scale from 1 to 10 (10 being the best) please rate the importance of the following aspects of the ports system? a. User Interface b. Consistency of behaviors and interactions c. Accuracy in dependant port installations d. Internal record keeping e. Granularity's of the port management system User interface = 10. Others = No Experience. 12. Please rate your personal technical skill level? Expert compared to some people. Faictz Ce Que Vouldras: Frank Mitchell ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [RFC/P] Port System Re-Engineering
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 People, Please. I joined this list because i have a few ports that list me as the maintainer. I joined in the assumption that this list would provide information related to my maintainership. Now for days i keep getting these immature posts. I am not interested. Should i unsubscribe? People: i don't care who is in whose killfile. Please keep your flames private, and off-list. Some of us are on this list for a reason! Thanks, Koen Martens On Tue, Dec 04, 2007 at 08:59:52AM -0600, Paul Schmehl wrote: --On Monday, December 03, 2007 22:03:50 -0500 Aryeh M. Friedman [EMAIL PROTECTED] wrote: It was one of several examples... jesus how I wish I could post some of the private replies I got so people could see the amount of frustration out there with the current system but that would color other replies so I will wait until I don't get any new survey replies for 24 hrs then I will post a summary and verbatum the ones the orginal authors let me do this with. Well, that does it for me. You're the first person ever in this list to go into my killfile. The last thing I want is to sit here and read carping and bitching from people who think the ports system is f'd up but have no intention of getting off their butts and writing code to fix it. Feel free to respond. I won't see it. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED] - -- K.F.J. Martens, Sonologic, http://www.sonologic.nl/ Networking, hosting, embedded systems, unix, artificial intelligence. Public PGP key: http://www.metro.cx/pubkey-gmc.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHVndCktDgRrkFPpYRAoFnAJ93vn5k4Dw+vT8xciIe7sMm06ycwACfTbQJ qjrskRih//7BsfzSU/ghWUg= =Qncy -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
rebuilding Postfix to ad MySQL support
Hello; Can I get some advice: I have Postfix installed from package at system install. I am trying to set up Cyrus Imap and Cyradm. These have specified use of mysql for database types. After carefully crafting the configuration files for Postfix, I am informed tha Postfix does not support MySQL tables as it stands. I have received instruction from Postfix list about how to add the support: $ make -f Makefile.init makefiles \ 'CCARGS=-DHAS_MYSQL -I/usr/local/include/mysql' \ 'AUXLIBS=-L/usr/local/lib/mysql -lmysqlclient -lz -lm' Wietsed I assume this is done in the Postfix port dir (and, impatiently, I am wondering if this is the correct syntax for csh). My question is: should I de-install the existing Postfix package first? I have laboriously crafted main.cf and the various database files. I could copy them somewhere else and re instate them. But why if the existing configuration files won't be bothered. Please forgive my novice* user level. I am learning as I go along. I am a hobbyist at this stage. Perhaps tomorrow, who knows? * I am a little beyond 'newby' but not by much. Thank you in advance Jeff K ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rebuilding Postfix to ad MySQL support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jekillen wrote: Hello; Can I get some advice: I have Postfix installed from package at system install. I am trying to set up Cyrus Imap and Cyradm. These have specified use of mysql for database types. After carefully crafting the configuration files for Postfix, I am informed tha Postfix does not support MySQL tables as it stands. I have received instruction from Postfix list about how to add the support: $ make -f Makefile.init makefiles \ 'CCARGS=-DHAS_MYSQL -I/usr/local/include/mysql' \ 'AUXLIBS=-L/usr/local/lib/mysql -lmysqlclient -lz -lm' Wietsed I assume this is done in the Postfix port dir (and, impatiently, I am wondering if this is the correct syntax for csh). My question is: should I de-install the existing Postfix package first? I have laboriously crafted main.cf and the various database files. I could copy them somewhere else and re instate them. But why if the existing configuration files won't be bothered. Please forgive my novice* user level. I am learning as I go along. I am a hobbyist at this stage. Perhaps tomorrow, who knows? * I am a little beyond 'newby' but not by much. Thank you in advance Jeff K Ah, he assumes that you do all build manually, but with ports system that would be much easier. First, synchronize your ports tree (portsnap fetch update or portsnap fetch extract); Second, go to /usr/ports/mail/postfix, do: make config Then a dialog box would appear, choose what you want (MySQL). Then, do 'make clean all deinstall install' as root; then do 'make clean'. Note that if you have portupgrade installed the last step can be automatized with 'portupgrade -Nf mail/postfix'. Hope this helps. Cheers, - -- Xin LI [EMAIL PROTECTED] http://www.delphij.net/ FreeBSD - The Power to Serve! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHV1GvhcUczkLqiksRAqx1AKC6pqPDDqE/7GvMSKtemI7Wlqs+CgCfZrP/ ggfaSkHVtnx6xzgQJCzDsJg= =tN5t -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rebuilding Postfix to ad MySQL support
On Wed, Dec 05, 2007 at 05:06:04PM -0800 I heard the voice of jekillen, and lo! it spake thus: I have received instruction from Postfix list about how to add the support: Don't hack it in manually. Just cd /usr/ports/mail/postfix and 'make config', and check the MySQL option. Then rebuild and reinstall. -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [RFC/P] Port System Re-Engineering
In article [EMAIL PROTECTED], Koen Martens [EMAIL PROTECTED] writes: [...] I am not interested. Should i unsubscribe? - if your maintainer address is working, you can get relevant mail. - if you can sit out a storm, do not unsubscribe. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
smbmount
Hi there, freebsd sparc doesn't have the package smbfs ? or the mount_smbfs ? thanks. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]