Hacker Newsnew | past | comments | ask | show | jobs | submit | more PythonicAlpha's commentslogin

That is right. At least, they should have promoted the minimum amount to be taxable (I don't know the right English word) to the new system. In the old system, smaller businesses which did less than amount x business could be excluded from the taxation. They should at least have a small amount left for real small businesses that have few foreign customers .... So, a business owner must decide, if he takes the hassle for one or two customers or just says that he takes no foreigners at all!

They could have said, that business with less than X "foreign" income could still comply to their own countries taxation ... but no, with such a thing, they just created more bureaucracy and support the big players like Amazon, against which the regulation should have gone in the first place ... (at least, that was the explanation).


Fruits: Mozjpg medium is still worse as BPG and is nearly double the size, it leaves a lot artifacts in the cloudy areas. Found it very convincing.

I think the results depend a little on the kind of input, but some of the pictures where rather convincing. WebP seems to do better than jpeg.


A key observation is that WebP biases towards smoothness (which certainly produces pleasing images!) at the cost of sacrificing detail. mozjpeg produces images with numerous macroblocking artifacts (ick) that seem to preserve more of the original image detail, from the cases I looked at.


I heard something, that the software (hardware drivers and other things) support for these not so much sold devices is sparse. Does anybody know more? I guess, they ported some Linux on it, but how about media server software (like XBMC/Kodi) and other stuff??


Amlogic is known around the XBMC/Kodi forums for their excellent OSS VPU drivers and boxes using this chipset are usually among the most recommended.

This new chipset (S805) should also be able to support H.265 videos, the first patches for it have already appeared on the mailing list.

I can't comment on VDPAU support but for Kodi this board should be pretty awesome :)


This should run most of the existing Ubuntu and Android images without any hassle. Having owned an ODROID-U2 for a long while now, I can tell you that these things run Ubuntu 14.04 like a dream (except for the lack of OpenGL - you only get ES) and Android works great:

http://the.taoofmac.com/space/blog/2013/02/10/1230

(Mine is now running Ubuntu only, and the only gripe I have is that the kernel currently lacks enough group support to run Docker - that's only a recompile away, but I like my uptime...)


I have the Odroid XU3 (which I think runs the same version of their Ubuntu). XBMC/Kodi runs on it, but I get a crash intermittently when fast forwarding a movie. VLC works perfectly. Chromium and Firefox runs superbly. I was unable to get Flash working so Amazon Instant Video and HBOGo don't work. Wireless with the $8 usb dongle they sell works perfectly.


Have you tried the pepper flash player?

http://forum.odroid.com/viewtopic.php?f=8&t=2374


You should check the ODROID forum for newer graphics drivers. The bleeding edge versions are released every now and then as separate binaries/images.


A lot of people in the HTPC community are buying these things for just that purpose. This board should be excellent as a HTPC.


In some other news, I read something about ~2x that of a Raspberry, I think it was about 0,5A. That seems to me a fair deal for much more speed.

Also you get a 1GBit Ethernet port, I think Raspberry has only 100MBit/s.


With that chip you should get around 2.5x faster single-thread performance (mostly due to the higher clock speed), and 3 more cores inside as well.


Yes, the higher performance is rather appealing. Of course one of the reasons for the success of the raspberries is the low energy consumption, but sometimes it is just to slow. A little reserve really would be good for media centers or also if you want to have a small server solution.

Of course best would be some device with low power consumption when less work is to do and which can go to full power if needed. Multiple cores would be good for that, if the device could deactivate unneeded cores or even reduce the clock speed.

I am looking forward for more power saving devices, since servers which run all the day should consume less than today.


There might be opportunity for lower energy, speculating if the SoC has better dynamic power abilities, and even without it, can finish it's work earlier and go back to deep sleep longer.


curious to know how the port is implemented - if it's wedged in to the USB bus like on the pi that has performance implications.


AFAICT it's a direct bus connection, no USB bridge. That said, most Gbps Eth are capped around 500Mbps by said bus.


As much I heard, the ARM instruction set is also not so simple as it could. So a new, fresh and clean instruction set would be great and the comparison of the two architectures looks promising.

I scan-read the paper, but did not encounter any number of registers. Does anybody know, how many registers this architecture has/supports ... is there any implementation yet?

Hope, there will be an implementation soon, and maybe a smartphone or tablet computer based on it... (or a new Raspberry?)

Edit: Now I see, should be 32 registers, based on the 32bit opcode-format (5 bits to address any register).


As much I heard, the ARM instruction set is also not so simple as it could.

I'd argue that's part of why it's been so successful, especially in competition with the other big ISA - x86. Complex instructions are good because they do a lot in a small size, and a small size is good because it conserves cache usage and memory bandwidth; decoding is rarely the bottleneck now. That's why ARM has Thumb, and their latest cores are similar to x86's uop-decoding and decoupled decoder/execution units.

The whole "it can be done faster in software" idea of RISC was mainly based on some early CISC microarchitectures that weren't implemented as efficiently as they could be, which doesn't imply that they couldn't be. Look at all the instructions added by the various SSE extensions, for example; the performance/speed improvements they provide are real, and the cost of the hardware is basically negligible in comparison.

Here's an interesting comparison where ARM and x86 are quite close in power efficiency, while MIPS is relatively far behind: http://www.extremetech.com/extreme/188396-the-final-isa-show...


Well, the other angles were "what can we fit on a die?" and the relative speeds of single die CPUs and memory.

These have changed throughout history, e.g. when I was reading the Wikipedia CDC 6600 page, it pointed out magnetic core memory of the time could be much faster than germanium transistor CPUs (we're talking about the days when transistors had serial numbers!), and the silicon ones it were built with were fast enough that, with clever architecture (a 60 bit floating point multiply or divide still took many more cycles than a fast memory cycle) and compilers, a theoretical 3 MFLOPs resulted in an achievable 0.5 MFLOPS in FORTRAN. My first job in 1980 was supporting applied mathematicians who ran their FORTRAN on CDC and CRAY hardware at NCAR a couple of thousand miles away. One thing they were always concerned with was to write their array manipulations in a way that the compiler recognized to use the vector hardware.

Back then there was a huge premium on getting a serious CPU on a single die, and I think the speed mismatch with DRAM wasn't hardly as severe.


I'm not sure that the Extremetech page allows concluding much on its own regarding MIPS efficiency vs. others as the implementations are pretty different and the only MIPS instance is an oddball: it's OoO and 4-wide as the i7, while being on a very old process (90nm) while the all other chips are on better processes, and the 3 or 4 wide ones on 32 nm. 3 process generations tends to have an impact on efficiency ;)

Also on this topic: if the original MIPS was indeed very simple, recent versions added thumb-like code compression, SIMD extensions, DSP extensions... As everyone else does really. And you can get similar CPU benchmarks level as other architectures. Then the very same instruction architecture can have pretty wide power efficiency differences depending on implementations. Just look at Atom vs. Core, A8 vs. 15... Even the same model shows big differences based on implementation choices (optimize for speed vs. area/cost for example).

As someone working on SoC, I believe the key difference in MIPS vs. ARM vs. Intel is not so much the instruction set, but the work effort spent on optimizing the implementations close to the processes. It's pretty obvious for Intel, but ARM spends a lot of time with the big foundries (TSMC, GlobalFoundries, Samsung) to make sure their implementation are well tuned. And they pass on the know-how to their customers through what they call "POPs" (Process Optimization Packages). This is important for ARM, but also for the foundries as ARM is the de facto standard in mobile. A lot of work go in this, and it shows at the high end. MIPS/Imagination recently propose something similar for MIP, but they're far from having the same amount of resources. That's the main difference between MIPS and ARM at the high-end IMHO.


It would have been nice if they had a MIPS core actually designed by MIPS.


> Hope, there will be an implementation soon

It's quite possible: http://www.lowrisc.org/


Per that page, "multiple high performance [RISC-V] chips have been produced, at 45 and 28nm", which is very encouraging.

More from the page, enough to get me interested:

On performance: "As a rough guide we would expect ~500-1GHz at 40nm and ~1.0-1.5GHz at 28nm."

Is volume fabrication feasible?

Yes. There are a number of routes open to us. Early production runs are likely to be done in batches of ~25 wafers. This would yield around 100-200K good chips per batch. We expect to produce packaged chips for less than $10 each.

Looking at this slide show: https://speakerdeck.com/asb/lowrisc-a-first-look I see they're doing some very interesting things. Besides a lot of usual stuff, 2 cores each with I+D L1 and a shared L2 cache, they've added tags!

2 bits of tags, and they're thinking general purposes (e.g. GC) as well as security. That's big, something we haven't seen in hardware since Lisp Machines, to my knowledge.

Also I/O "minions", non-coherent RISC-V cores, like the CDC 6600 etc.

I'm now quite interested in the project.


> 2 bits of tags, and they're thinking general purposes (e.g. GC) as well as security. That's big, something we haven't seen in hardware since Lisp Machines, to my knowledge.

The IBM AS/400 or whatever it is called this week uses tags too for security. (A bit is flipped if a pointer is written too thereby preventing changing pointers.) The PowerPC chip has optional support for tags because of this.

Source: http://www.amazon.com/Inside-AS-400-Second-Edition/dp/188241...


Thanks for your interest, we're hoping to share more very soon.


You're very welcome.

Read and write barrier instructions could be very nice for GC, but those can be done at the page level, I think (I would look at the Azul's Pauseless collector for one state of the art custom hardware approach, and their C4 for doing without on x86_64).

But I'm more interested in tags for dynamically typed languages like Lisp. You don't need many bits, Symbolics used only 4 "hard" ones in the 36 bit 3600 line, which allowed for immediate 32 bit integer and floating numbers, then another 4, leaving 28 bits for word based addressing.

In modern byte addressed CPUs, you can use the least significant bits that are 0 in a pointer for tagging, so the 2 "hard" bits you propose are enough to work with. Basically, as long as we don't have to box floats!

Although it would be nice if we could set things up so that e.g. floating point operations could proceed at full speed, generating a fault if the tag bits on the operands aren't correct ... although superscalar CPUs can do both in parallel without "hard" tags. Are your two main cores going to be superscalar?

And I guess to finish my wishlist, a potential for a lot of ECC DRAM would be nice, at least 16 GiB.

ADDED: flip side is don't let the Second System Syndrome sink this effort (the Raspberry Pi being the first; just going to your own new architecture SoC is a really big step!).


The 2-4 main cores will be derived from the UC Berkeley Rocket core generator https://github.com/ucb-bar/rocket. Currently this is single issue, in-order though it is designed to be a dual-issue in-order core (i.e. superscalar).


Errr, correct me if I'm wrong, but as I read the v2 RISC-V spec (starting with the absence of a flags register!), plus some quality time on Google, RISC-V has no provision for integer computation errors besides divide by zero (which can be checked for). From the spec:

"We did not include special instruction set support for overflow checks on integer arithmetic operations. Most popular programming languages do not support checks for integer overflow, partly because most architectures impose a significant runtime penalty to check for overflow on integer arithmetic and partly because modulo arithmetic is sometimes the desired behavior."

!!!

Or, RISC-V is a Worse is Better (https://en.wikipedia.org/wiki/Worse_is_better), New Jersey style processor, following the same exact model of the primacy of implementation simplicity.

Well, especially since we aren't going to get people to use "safe" languages prior to e.g. software errors killing 4-6 figures of people, I guess it's a really good thing you're adding tag bits that can be used to improve security in unsafe languages.

On the other hand, as a CPU for The Right Way operating systems and languages like Lisp, RISC-V would seem to be ... subpar, especially since who knows what other corners have or will be cut. (Yeah, I know you can check, and for Lisps, it would be fairly cheap to have fixnums be 32 to 29 bits (subtracting LSB bits for more tagging) and then promote them to bignums, but....)

While I think you're doing a very good thing for the world as it is, my personal interest has dropped ... but that's OK, I've got a couple of years to muse about this as you develop your design and get it into production.


I am personally very sympathetic to concerns about the efficiency of overflow checking. There has been some discussion of this on the riscv-hw mailing list, e.g. https://lists.riscv.org/lists/arc/hw-dev/2014-09/msg00007.ht.... The current position of the Berkeley team is that overflow checking just adds a single rarely taken branch, which can easily be predicted. If new data is produced (such as evaluating a wider range of instruction traces, e.g. those from programs not in C), there may well be an argument to be made for new instruction set additions. There is a plan for some sort of RISC-V consortium with representation from all major implementors, though this is will take a while to develop. I imagine we'll be discussing this at the RISC-V Workshop 14th-15th Jan in CA http://riscv.org/workshop/


> the current position of the Berkeley team is that overflow checking just adds a single rarely taken branch, which can easily be predicted

I find this argument VERY weak: you need many of these 'very rarely taken branch' overflow checking instructions and they pollute the instruction cache..


And that's also assuming that all of the necessary checks will in fact be added!


I don't think that this part is really an issue: if the compiler by default adds the checks and only remove the checks very conservatively..


31. Register zero is hardwired to be zero.

[by the way, the PDF at http://riscv.org/download.html#tab_isaspec is clear reading]


Thanks. I think, this spec is to long for me now to read.

I am wondering, what the advantage of a zero register is? I thought about supporting direct operations, but adding zero does not make to much sense, same with minus, multiply, division .... OR/AND/XOR does also make not much sense. Storing data into this register also does not make to much sense ... or as garbage tray??? ;) (the hardware implemented garbage tray was once the April fool joke in an IT magazine).


If you take a look at the master's thesis on designing the compressed opcode format[1] (expressing instructions in a 16 bit encoding, similar to ARM Thumb, to increase efficiency of instruction cache utilization), in which they counted what registers were used most often in order to determine which to allow access to in the compressed format, you'll see that the 0 register is the 5th most common register, making up approximately 9% of all registers referenced in instructions. Dynamically, in terms of instructions actually executed as opposed to merely present, it's a little less common at closer to 4%, but still common enough to be worth choosing as one of the 8 registers accessible in the compressed format (actually, they only allow it for some operands of particular instructions where it is particularly useful in the compressed format, allowing other operands to have access to one more real register).

It's useful for several things. One is as a no-op instruction; as you point out, AND, OR, XOR, etc. with zero are no-ops, and no-ops are sometimes useful for achieving certain alignment in code, or leaving space for instructions to be patched out with other code (which is common for debugging, tracing, and hot-patching of code).

It can also be used for copying from one register to another, without another instruction. "ADD rd, rs1, 0" is a way to write "MOVE rd, rs", so you don't need to waste an extra instruction on that.

0 is also one of the most common values that you want to compare against (many loops can be turned into decrementing a value until it becomes zero, or you're just walking along a data structure or string until you encounter a null value), and so their branch instructions work by comparing two registers and branching to a particular offset. Having a dedicated 0 register means you can always do a compare against 0 and branch in a single instruction, without having to have separate instructions for comparisons against immediates versus comparison of two registers.

[1]: http://www.eecs.berkeley.edu/Pubs/TechRpts/2011/EECS-2011-63...


I did not think about comparisons ... that is right.

The other examples are also valid, but rather special to RISC architectures ... but of course it does the trick.


With a dedicated zero register it's possible to implement some useful instructions as assembler pseudoinstructions and not on the CPU itself, saving chip area.

For example, the original MIPS instruction set has these pseudoinstructions:

- li $d, imm (load immediate) is replaced with ori $d, $0, imm (or immediate with the zero register)

- not $d, $s (bitwise complement) is replaced with nor $d, $0, $s (bitwise NOR with the zero register)

... and some others as well.


ARM have a real habit of churning out ISAs on an as needed basis, such as the Thumb stuff.

The uncomfortable reality here though is that this is just another project from the ultimately failed MIPS/SPARC view of the world. ARM has little to zero academic credibility as it is really just a jumped up 6502. This lack of any sort of theoretical purity is really their big strength.


> ARM has little to zero academic credibility as it is really just a jumped up 6502.

I think that statement is taking a few more shortcuts than are warranted.


I use some similar classes in my projects.

It always has frustrated me to see that attribute- and dictionary access is so similar but still different. Of course in most cases, there are some good reasons to have it different -- but sometimes there are also good reasons to generalize access to some important values.

So, we have duck typing and car typing. And both together we have a duck-car, because it quacks like a duck and runs like a car.


In Europe, our situation is very similar to the US -- we are just some years behind. So whatever happens to the US, is also happening to middle Europe. The reason is, that our governments are happening to copy all the trends from the US and sell it to the citizen as great "blessing" from the US, even when the US long has found that it was a mistake.

And yes, the middle class is also in decline in Europe very fast. Germany once had one of the best social security system in the world. Today it is in decline very fast and some thing is happening, that nobody would have found possible in 1990 ... we speak today of "poverty among the elderly" and not for some percent, but of vast numbers of them. And those things that where invented to prevent it, happens today to be the reason for it.

The dreams of "unlimited money and profit" from the 80s, 90s and 00s where found to be false dreams that came only true for <1% of the people.


That is just the reason, why I restrain to use Apple hardware.

Apple products are really very good and they have invented the smartphone it it's current functionality. But Apple has a very restrictive mindset. I as user, feel that it is like being in a nanny-state, where everything is controlled, what I am allowed to do.

I want to decide myself and not let Apple decide for me, what is good for me.


This particular issue is about Apple deciding that they don't want their software (iCloud Drive) being used in a particular way. It's not about deciding what's good for users.


Not true. Apple doesn't allow them to use ANY cloud-based sharing software becouse all share the same iOS API, so it's impossible to allow users to use dropbox and not iCloud.


Yes, that's unfortunate, but Apple isn't intentionally trying to prevent them from using the other software. It's just a bad consequence of the way the API works. Note that they would be free to use these services if they used an alternate mechanism of talking to them (e.g. built direct support into the app).


Might be. I am not enough inside this stuff to really distinguish. But there are other examples, where Apple decides, what is allowed to run on "their" hardware. I as user feel "overprotected" to say it very polite.

Also there are other companies that provide services, but don't force the users to use it in the way they think.


I would guess, that decoding speed can become an issue for websites, where many images are already in the cache but are re-displayed rather often...

I write this, because I am building such an application and for now it has many PNGs ... and yes, using a format like BPG would be fine, because I use the PNGs only because of transparency ... but when redisplay is done via a Java Script, I doubt that I could have the same speed. Loading is not so much a limiting factor, since after some time, all relevant PNGs are already in the browser cache.

Can anybody say something to this topic?

Of course, it would be great to have this integrated into the mayor browsers soon ...


Should better read: Americas "most effective" Warplane is Going Back into Battle.

As much I know, this plane is the most effective plane against ground targets. Some targets just can't be hit effectively from great heights and this plane also stays much longer in the area as other planes can. It might be the best compromise between a helicopter and a plane.

Also it is very cost effective in comparison to some of the more modern planes.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: