
On a side note: Never use a Pi 4 with a really old and slow microSD (6.6 MiB/s sequencial!). It's a pain. It was the only one i had left so no choice. The A1 rated cards are totally worth the money.
Good old snes9x!pica200 wrote: ↑Fri Aug 30, 2019 9:37 amDamn it. snes9x-gtk is not even in the repos on Raspian. Not even the cli version. Pretty frustrating so i have to build it myself
On a side note: Never use a Pi 4 with a really old and slow microSD (6.6 MiB/s sequencial!). It's a pain. It was the only one i had left so no choice. The A1 rated cards are totally worth the money.
Not wide enough to make a differenceHow wide is the data bus between the processor and memory on the Pi 4B?
At last someone answers this question from 2016. Yet, the answer is somewhat unsatisfying.
With a little bit of searching I found that the one of the Pi4 memory modules marked "D9WHV" is a Micron MT53D1024M32D4DT-053 WT:D with the description: "RAM LPDDR4 32G 1GX32 FBGA QDP" which could indicate a 32-bit wide data bus.
As suspected. All hopes that the Pi 4B is morally equivalent to the 8-bit machines from the golden age of personal computing have been dashed. It's more like the original IBM PC where the native register size is twice the data-bus width.Ernst wrote: ↑Sat Aug 31, 2019 4:54 pmWith a little bit of searching I found that the one of the Pi4 memory modules marked "D9WHV" is a Micron MT53D1024M32D4DT-053 WT:D with the description: "RAM LPDDR4 32G 1GX32 FBGA QDP" which could indicate a 32-bit wide data bus.
In my opinion a 32-bit data-bus for memory is good engineering. Using two chips or a 64-bit bus would result in a more crowded design, routing difficulties and likely a circuit board with more layers. Over time the cost of higher density memory is likely to decrease while the cost of manufacturing a circuit board with more layers not.
I think they said the education market was still only about 10% of sales and the Digital signage market was bigger.Raspberry Pi don't do gimmicks. The dual HDMI output is there because they have judged that a significant enough proportion of their (potential and current) customer base want dual HDMI monitor support.
Ok let's see. How likely is it to have a micro HDMI --> HDMI adapter or cable? Very unlikely because rare/obscure connector.
That's not the issue. The issue is whether the monitor supports DisplayPort. Micro-HDMI to HDMI is a much simpler conversion than mini-DisplayPort to HDMI. You also need a GPU that supports DisplayPort. Do Broadcom even have such an IP block?
Mini-DisplayPort is certainly not widespread in laptops. HDMI is still much more common, probably because most monitors have HDMI - far fewer have DisplayPort.
While the High-Definition Multimedia Interface versus Display Port discussion is interesting, I'm not sure the difference is important when moving to 64-bit.andrum99 wrote: ↑Sun Sep 01, 2019 11:43 amThat's not the issue. The issue is whether the monitor supports DisplayPort. Micro-HDMI to HDMI is a much simpler conversion than mini-DisplayPort to HDMI. You also need a GPU that supports DisplayPort. Do Broadcom even have such an IP block?
Mini-DisplayPort is certainly not widespread in laptops. HDMI is still much more common, probably because most monitors have HDMI - far fewer have DisplayPort.
Yesterday I did a cursory search for such cases of hand-optimized assembly and that does not appear to be the case. pyaes is a pure-Python AES implementation (does not rely on OpenSSL, which otherwise would have brought the bugs analyzed earlier this thread), and in general Python module writers don't seem to be interested in optimizing for armhf outside of TensorFlow.
The comparison is not fair: As mentioned above, the 32-bit Python on Raspbian is compiled to be reverse compatible with the ARMv6 architecture of the original Pi and Zero computers. In particular, by optimizing for ARMv7 the speed of the 32-bit baseline increases by another 10 to 20 percent, which makes the 64-bit results look even worse.
It's not clear to me what the current state of support for running 32-bit binaries on 64-bit Linux actually is. Ideally you would be able to run pretty much anything you wanted that ran on 32-bit Raspbian on 64-bit Raspbian (which are of course ARM), but from what I can gather even on x86/x64 this can be problematic. It's a curious design feature on the Pi 4 that they have apparently gone for a 32-bit data bus for the memory interface. I have a feeling that we may need to wait until Pi 5 for faster 64-bit on a Pi. That's not a complaint by the way!ejolson wrote: ↑Sun Sep 01, 2019 2:47 pmFrom my point of view, the performance loss with Python is a pretty clear reason to stick with 32-bit. However, if the kernel can be updated to 64-bit while keeping Python and most of the other system utilities 32-bit, that would open the door to running where there is an advantage a few select binaries, such as web browsers and of course sysbench, in 64-bit mode.
I'm not sure that Python uses 64-bit integers for everything. Python only has one integer type integer which is an arbitrary precision integer. The representation that CPython uses is PyLong which divides the integer into an array of 30-bit integers (yes 30, not 32) and if more than one word is needed then the absolute value is stored (the sign is encoded in the length of the integer).ejolson wrote: ↑Sun Sep 01, 2019 3:45 pmI've heard when compiled for 64-bit architectures that Python uses 64-bit integers internally for everything including characters. The Pi is a bit unique, apparently, in being a 64-bit processor tied to memory by a 32-bit memory. For comparison, the width of a standard DDR4 SIMM is 64-bits and many PCs are dual or quad channel.
While there are likely quite a few ways to make a 64-bit version of Python that runs faster on the Raspberry Pi, anyone actually doing do and the patches being accepted upstream would be a miracle the size and scope of which could bring millions of Raspberry pythonistas to a true 64-bit conversion.