Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:ip over tcp exists. see also PPoE (Score 1) 804

Yeah, but you need the lower level frames (link layer) to implement the higher level protocol (TCP) so that you can encapsulate another lower-level protocol within it; you can't implement TCP without any link-layer underneath it, is what I was trying to say. Note the "only" using TCP in the post.

Comment Re:64 GB ECC 32 consumer, pcie vs. sata. compare H (Score 1) 804

What I'm really saying is that thunderbolt is like a transport layer protocol, and pci-e, Ethernet, video, etc. are all protocols layered on top of this transport protocol. It's very like the OSI stack, in as much as there's a link-level protocol and service-level protocols building on that basic transport.

I have no experience with PC motherboards so I'm not *sure* what they're doing, but I suspect that they are exposing any pci-e level protocol traffic as hot-plug pci-e (as does the Mac), and that the OP is misunderstanding what the author of the HTML page he linked to is saying.

Thunderbolt itself is a lower-level protocol, but one that can be addressed directly which can be useful for particular applications. One example is raw dma, so any thunderbolt device can dma into any other device without the CPU getting involved (modulo the conditions I mention above).

I thought the spec comment was a bit odd as well, but I think he might be referring to the fact that the spec (and the hardware) has changed over time. There are several revisions...

Comment Re:64 GB ECC 32 consumer, pcie vs. sata. compare H (Score 1) 804

Dude, I'm just describing what I see. I have the docs too, for both protocol and controller chips, and I have the code and measurements to prove it.

There's a clear difference in the time taken to process packets once the kernel gets involved, and (within experimental error), that time difference is nicely quantized.

I can't say it any clearer, when the kernel doesn't need to get involved (see above for criteria), it just doesn't - at least on a Mac. Perhaps the bios's Greg is using are not implemented well, I don't know (I have no experience there) but the Mac does it intelligently.

Comment Re:64 GB ECC 32 consumer, pcie vs. sata. compare H (Score 4, Interesting) 804

I don't see how you can implement a lower-level protocol (eg: raw thunderbolt DMA) using a higher-level abstraction of that protocol (eg: pci-e traffic). That's like saying you'll implement Internet-layer frames only using TCP. Similarly, I don't see how you can expose something that doesn't conform to anything remotely like pci-e as a hot plug pci-e device - the latency tolerances to remain in spec are way different for a start.

I too have implemented a driver, from a high-end FPGA to the Mac, and the OSX kernel does not get involved unless you're traversing controllers within that Mac, or the route cannot be expressed within a single transaction, or if the destination is local. It just doesn't. These are to my knowledge the only 3 reasons for the local CPU to get involved:

[1] If you have a machine with devices (1,2,..) on multiple thunderbolt controllers (say A and B), it's possible to have a route like A2 -> A1-> A0 -/-> B0 -> B1, and of course the kernel is involved then because the individual controller chips A and B are not bridged together in any other way. The kernel has to route between A0 (local) and B0 (also local).

[2] The initial spec for thunderbolt allowed a lot of flexibility with source-defined routing tables, but it wasn't taken advantage of, and the later chips from Intel removed some of that functionality (or, more likely, just reassigned the chip real-estate to something more useful). There are now potentially valid routes that can't be expressed within a single frame, and the kernel has to be involved at that point as well, to make sure packets get to their correct destination. It is, however, unlikely that users will see these routing issues in real-world scenarios, you have to have a lot of devices on multiple busses before it's an issue.

[3] The destination is the local machine. Of course, the kernel has to get involved then.

I have a lot of diagnostic code that monitors bandwidth, packet lifetime and routing, and latencies. I've run massive stress tests on multiple machines and devices connected via thunderbolt, and so far, the above 3 reasons are the only ones that an OSX machine enters the kernel for any thunderbolt-related cause. It is quite clear when the kernel does get involved compared to when it doesn't, so I'm confident that if it doesn't have to get involved, there is no interaction.

Comment Re:64 GB ECC 32 consumer, pcie vs. sata. compare H (Score 1) 804

Thunderbolt has only a passing acquaintance with pcie. It most certainly is not just a pcie bridge over wires rather than on board connectors. Thunderbolt is a switched packet network transport, and can route data packets of many types (including video, pcie, raw thunderbolt dma, etc.)

In addition, every thunderbolt port is a switch, using source-embedded routing to decide whether the packet ought to be forwarded n hops or whether it's destination is local - so the local CPU only gets involved if you're traversing thunderbolt controller chips, or if the packet is for the local machine.

There's a lot more to thunderbolt than just pcie, so if linux just treats it as pcie then linux is getting it wrong.

Comment Re:Hard to believe (Score 5, Insightful) 804

I'm not sure you got the point of the article - they were trying to match the specs of the capabilities in the Mac using commodity parts. The GPUs in the Mac Pro are the same as those firePro parts that cost a small fortune, and even a couple of R9 290x's wouldn't keep up because of a lack of VRAM (6GB of DDR5 vs 4GB on the 290's)

I'm not saying you need those gpu's, but if you're trying to match specs, those are the ones to choose. I think it's also clear that Apple are pushing gpu-based computing at the high end (they designed OpenCL after all), so high-load gpu code is likely to be common in the pro-apps. Those GPUs will be used on a mac.

Comment Re:May they burn in hell. (Score 4, Insightful) 510

Dude, I grew up with the those cowardly shitbags killing innocent bystanders. Don't give me any rhetoric about them fighting any fucking revolutionary war. They lose all rights to be treated as human when, as an organisation, they intentionally set out to kill people as PR "for the cause".

It was well known at the time, and confirmed by Sinn Fein afterwards though never officially "proven", that a huge amount of money was sent from the USA to fund the IRA, it was called Noraid, and it funded them to the tune of millions of pounds. That was American *people* exercising their rights and freedoms to fund an organisation that murdered men, women and children indiscriminately.

The IRA are vermin, scumbags, the leprous weeping sores deep up the arsehole of humanity, and those who made their actions possible by funding them are no better. Just ask the parents of the murdered children how they feel...

Simon.

Submission + - Withhold Passwords From Your Employer, Go to Jail? (forbes.com)

ericgoldman writes: Terry Childs was a network engineer in San Francisco, and he was the only employee with passwords to the network. After he was fired, he withheld the passwords from his former employer, preventing his employer from controlling its own network. Recently, a California appeals court upheld his conviction for violating California's computer crime law, including a 4 year jail sentence and $1.5 million of restitution. The ruling provides a good cautionary tale for anyone who thinks they can gain leverage over their employer or increase job security by controlling key passwords.

Submission + - Airlines Taunted by Amazon and Alec Baldwin

An anonymous reader writes: Amazon once loaded an airplane with Kindles — all of them turned on — to prove the devices posed no threat to an airplane's communication system during take-offs and landings, according to the Washington Post, which also notes an Amazon employee ultimately chaired the FAA technical committee investigating the issue. "We've been fighting for our customers on this issue for years," one Amazon executive announced in a press release, " adding that to celebrate the FAA's new change in policy, they're offering a 15% discount today on most Kindles. The Post notes that "it's still eyebrow-raising that a company with the most commercial interest in the outcome of a panel's report would directly oversee the scientific content of that report." But the biggest winner is probably Alec Baldwin, who two years ago appeared on Saturday Night Live as a pilot who argued that the policy was "just a cruel joke perpetrated by the airline industry... and we would’ve gotten away with it, but Alec Baldwin was just too smart for us.!

Submission + - Security hole found in Obamacare website (cnn.com)

RoccamOccam writes: The Obamacare website has more than annoying bugs. A cybersecurity expert found a way to access users' accounts.

Until the Department of Health fixed the security hole last week, anyone could easily reset a user's Healthcare.gov password without their knowledge and potentially hijack the account.

The glitch was discovered last week by Ben Simo, a software tester in Arizona. Simo found that gaining access to people's accounts was frighteningly simple.

Submission + - The $15 Device That Protects Against School Shootings

Hugh Pickens DOT Com writes: In the tragic aftermath of the Newtown school massacre, as is the case every time there’s a school shooting, Americans debate what should be done to ensure the safety of innocent schoolchildren. Gun control advocates push to limit access to deadly weapons by imposing tougher firearm regulations, while the National Rifle Association suggests that armed security guards be stationed at every school in the country. Now the Smithsonian reports that a group of students at Benjamin Banneker Academic High School in Washington D.C. has come up with a device that prevents armed intruders from breaking into a classroom with DeadStop, a lightweight, cup-sized plastic cylinder that slips over the common large hydraulic hinge known as a “door closer“ in seconds. “So many kids and adults were killed (at Sandy Hook). So we got together and we wanted to know how we could stop intruders from entering our school,” says Deonté Antrom, a junior at Benjamin Banneker. The school, like many others across the nation, is equipped with doors that cannot be locked from the inside, in order to comply with building code regulations that allow for unobstructed campus-wide evacuations in case of a fire and other disasters. The DeadStop was designed as a workaround, preserving that need for a quick exit in an emergency while also enabling the class to secure itself inside the room when needed. “The device we have is detachable. It will just be in the teacher’s desk and when there is an announcement that there is a shooter in the building, they will be able to take it out and simply install it on the hinge,” says Anjreyev Harvey. Students at Benjamin Banneker Academic High School hope to patent and release a final product of DeadStop that will cost no more than $15 and a law firm from Denver has already offered the team pro bono services to patent the invention.

Slashdot Top Deals

The use of money is all the advantage there is to having money. -- B. Franklin

Working...