986MB/s With BSD And Gigabit Ethernet 34
WasterDave wrote in with this link to information about zero copy sockets on FreeBSD. Some hunting turned up more detailed information about NetBSD and Gigabit networking. Pointers to similar information for OpenBSD are appreciated...
Re:Porting to Linux? (Score:2)
Copyright law does not allow you to change the copyright of anything that is not yours. Period. Unless the license in question allows you to do this then you simply cannot. It has nothing to do with the license, but everything to do with the law.
Re:Porting to Linux? (Score:1)
Good job! (Score:1)
"I shoulda never sent a penguin out to do a daemon's work."
Porting to Linux? (Score:2)
Excellent job done by FreeBSD developers.
I'm curious: how difficult would it be to port this feature to Linux? Kernel hacking is not my speciality, but I'd like to hear from someone who's intimate with Linux TCP/IP stack to briefly explain if that would require a major rewrite or could indeed be simply integrated into the existing code.
After all, you cannot deny it's a rather important feature that speeds up the stack greatly and would improve the performance of the OS, especially when used for routing (any LRP developers in the house?)
-----
Don't forget... (Score:2)
----------------------------
MB/s != Mbps (Score:4)
-------
FreeBSD: The power to serve.
Re:Don't forget... (Score:2)
It is! The problem is that ignorance numbs
Re:Porting to Linux? (Score:1)
"I shoulda never sent a penguin out to do a daemon's work."
NP? (Score:2)
no, Linux does not have zero-copy sockets (Score:4)
David Miller: "make no mistake, for transmit we will at some point have a zero copy scheme available. And you can be certain that when it does happen, the end to end latency will not suffer like it does on other systems for the cases where zero copy makes no sense at all." [iu.edu]
Linus Torvalds: "So don't fall into the trap of thinking that zero-copy is always obviously a win. It isn't." [iu.edu]
Ingo Molnar: "zero-copy makes a RL difference only in a small part of those uses. I very much dislike zero-copy-maniac designs which give up just about everything to get nice bandwith numbers." [iu.edu]
Re:Porting to Linux? (Score:1)
Anyone who works with your codebase has to abide by the GPL, even if they change previously BSD'd source code. If they don't want to they can go back to the original BSD source, since you told them where it is.
GPL's for commies anyway
Re:Porting to Linux? (Score:5)
One important question is, what MTU have they used. If it's the 9000 byte MTU jumbo gigabit frames then these BSD numbers havent got too practical relevance (i can saturate 8 gigabit cards with TUX, ie. 900MB/sec with 9000 byte MTU). If it's the standard 1500 byte MTU then it's nicer. (hm, i just found it, they indeed used 9000 byte MTU...)
Re:NP? (Score:1)
NP == Now Playing. It was whatever xmms happened to be playing at the time. I'm doing more Slashdot stuff away from my home 'net recently, so it's not been appropriate.
N
beyotch (Score:1)
Please provide a reference URL for "turbo sockets" (Score:2)
Re:Porting to Linux? (Score:1)
Re:Porting to Linux? (Score:1)
but a BSD license allows you to do anything with the code. if binary distributions are allowed, distributions under the GPL are certainly allowed.
what you can not do, is distribute GPL code under a BSD license, but it certainly workd the other way around. there is no need to keep the BDS code in a seperate file.
greetings, eMBee.
--
Re:Porting to Linux? (Score:2)
It depends upon the nature of the code. If this porting would require slipping in single lines of code here and there, it would be very problematic. However, if the BSD code can be isolated into a single source file, then simply license that file under the BSD and the package as a whole under the GPL. Similar things are done under several GPL projects.
Re:NP? (Score:1)
Re:MB/s != Mbps (Score:1)
Re:Porting to Linux? (Score:2)
This would be a copyright violation.
Looking at the first clause is all that is necessary:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
I suppose if you distribute the code via Napster the copyright doesn't matter. :-)
Re:Porting to Linux? (Score:1)
Sorry, I didn't read it that way at all. Please get your FUD and misinformation straight.
Re:Porting to Linux? (Score:2)
The BSD license does not allow you to change the license. You certainly can keep the BSD code mingled in with the GPL code, but it is going to be very problematic, which is what I said.
Re:Porting to Linux? (Score:1)
It's very possible to meet all the criteria of the BSD license, and release a new package under the GPL. You say :
this is based on a package developed by XXX. Code developed by XXX is licensed under the following conditions [Insert BSD Here] All modifications are Copyright logistix Licensed under GPL blah blah blah.
Where it gets tricky is that even though the modifications are under the GPL, you don't need to say where they are ( i.e. I added line 11848 and fixed a typo in line 43929 ) anyone who gets this isn't going to be able to strip out your changes and revert to the BSD License, so in effect they'll be forced to use the GPL License for their modifications (since it's parasitic), unless they revert to the original BSD source package.
Don't get me wrong, That'd be lame, but it could (and probably has) been done.
I think the whole point of the BSD license (minus legalese) is just saying "Look, this is based on software that you can get the source code for. If you don't think it's been changed too much, these are the people who made the original. Do whatever the hell you want with it."
Re:Porting to Linux? (Score:2)
Will your zero-copy TPC xmit be in Linux 2.4? If not, will it be part of the "patched" Red Hat Linux?
Re:Porting to Linux? (Score:1)
Re:Porting to Linux? (Score:2)
This would be a major copyright violation. Without the permission to do so, you may not relicense anything. BSD is not public domain.
Re:Porting to Linux? (Score:2)
A) The BSD license does not allow the license to be changed.
B) The BSD/AT&T case was settled out of court. No one won. No one lost. AT&T forgave Berkeley's infringment, and Berkeley forgave AT&T's infringement.
Re:Porting to Linux? (Score:1)
"The same happened with SunOS 4.x from Sun."
Huh? SunOS was firmly BSD-based.
--
Re:Please provide a reference URL for "turbo socke (Score:3)
The "turbo packet support" feature has just appeared in test versions of pre-2.4 Linux in the past week or two. That's hardly "always had it," as our troll claims (as if a system that isn't even released yet could "have" anything). So it's no further along than the FreeBSD equivalent, and despite the claims of our troll, is just as likely to be a copy of the BSD feature as vice-versa (in other words, unlikely). But of course, the reality is that some other OSes have had zero-copy for quite a long time. So who is copying whom?
(You'll have to search the "linux-net" list, not the "linux-kernel" list, for a discussion of "turbo packet support" and not "turbo sockets." Not only is our troll such a Linux ignoramous that he doesn't know where to look, he doesn't even know what to call it.)
It's always a sign of an immature wanna-be when such bare claims of BSD or Linux superiority are made; it's pretty obvious why our troll has decided to remain anonymous. The fact is that Linux and BSD each help make the other better, with friendly competition among the actual developers and a free flow of information between them. With rare exceptions, the attitude between workers in the two camps is one of mutual respect and even occasionally admiration. (Far more dissing goes on within the groups themselves than between them -- it's the camp followers who make all the us-vs-them noises.)
The Linux vs. BSD lamers simply don't understand what free software development is all about; unlike commercial software, win/win situations are the rule, and not the exception.
Re:Porting to Linux? (Score:1)
Re:Porting to Linux? (Score:1)
Re:Porting to Linux? (Score:1)
Re:Porting to Linux? (Score:1)