How to check HTTP Header and Connection Stats from the Command Line

A few days ago, I discussed with somebody whether a file was cached by Cloudflare or not, and this involved getting the HTTP header, and checking for CF-RAY field to see if data is going through one of Cloudflare data centers. This can be done with curl:

In the command above, -s stands for silent so that curl does not show the progress meter, -v stands for verbose to show the header, and -o /dev/null is used to discard the packet load. You can also use -I option (fetch the HTTP-header only) with curl, which – if all you need is the HTTP header – provides a cleaner output:

I also came across httpstat Python script recently via n0where, doing much of the same thing, except it also adds transfer statistics. It can be installed by downloading httpstat.py, or better using pip:

Let’s try it with this very […]

FriendlyARM NanoPi NEO Board Benchmarks

We’ve already seen how to setup NanoPi NEO with Ubuntu Core, and while it’s mostly designed as an IoT node, for example to control relays over Ethernet or the Internet, I’ve still decided to see how it would perform under load by running Phoronix benchmarks, and then network and storage (micro SD card provided by FriendlyARM). It’s a small board, so we should expect it to heat a lot under load, especially it does not come with an heatsink by default. Also bear in mind that performance may dramatically change depending on the software implementation, and for the test, I’m using the company’s Ubuntu Core firmware. Before start the benchmark, I noticed that QTe-Demo was running in the background, probably because it was used on their other board with video output or LCD. but it’s taking some CPU usage, and is absolutely not needed here. To disable it, edit /etc/rc.local, […]

Setting a VoIP SIP user agent with Embedded Linux

This is a guest post by Leonardo Graboski Veiga, working for Toradex. Introduction This article’s main goals are: to cross-compile the PJSIP libraries and the PJSUA API reference implementation; deploy it to the target system; give an overview about the SIP protocol; and explore the reference implementation features, regarding audio only. For this purpose, a Computer on Module (CoM) from Toradex was chosen in the following configuration: Colibri iMX6DL* + Colibri Evaluation Board. The evaluation board and CoM are displayed in Figures 1 and 2, respectively.   VOIP or Voice over IP, is a term designed to refer to a set of methods and technologies targeted for the implementation of telephony services over the Internet. For the purpose of this article, the scope will be limited to the use of a reference implementation built upon the SIP communication handling protocol by means of the PJSIP libraries and PJSUA2 API. If […]

ARMADA 8040 Networking Community Board with a Quad Core ARM Cortex A72 SoC Coming Soon for $300 and Up

Developers interested in ARMv8 server or networking boards are starting to have more and more affordable choices. After AMD Opteron A1100 series based LeMaker Cello board, and Softiron Overdrive 1000 server, SolidRun is now working on ARMADA 8040 networking community board powered by Marvell ARMA8040 quad core Cortex A72 network processor. ARMADA 8040 networking board (mrvl8040) preliminary specifications: SoC – ARMADA 8040 (88F8040) quad core Cortex A72 processor @ up to 2.0 GHz with MoChi architecture System Memory – 4GB DDR4 DIMM by default Storage – 4x SATA 3.0 port + micro SD slot Connectivity – 1x Gigabit RJ45 port, 1x SFP SGMII @ 2.5Gbps, dual 10Gbps copper with auto switchover to dual SFP+ Expansion – 1x PCIe-x4 3.0 slot, Linaro 96Boards expansion slot exposing GPIO, UART, I2C and SPI, Marvell TDM module header USB – 1x USB 3.0 port, 2x micro USB ports Debugging – Console port (UART) over […]

VLC for Android 2.0 Released with Network Shares, Multi-windows, Better Codec Support, and More

VLC / VideoLAN is a popular desktop video player for Linux and Windows, and it’s the program I go to when I want to watch a local video on my computer. VLC also has an Android version, but last time I checked VLC in an Android TV box, I was disappointed due to the lack of SAMBA support, and video decoding support was pretty poor on Rockchip RK3368 processor at the time. The good news is that the developers have now released VLC for Android 2.0, which brings several improvements including: Support for network browsing including DLNA/UPnP, Windows Shares (SAMBA), FTP(S), SFTP, and NFS Multi-windows/pop-up video with support for Samsung MultiWindow and LG Dual Window extensions New asynchronous hardware decoder, and codecs and formats support updates. Subtitle downloads via OpenSubtitles from VLC interface without having to go to the website inside a web browser Right-To-Left and Complex Text Layout subtitles […]

Accelerated 3D Graphics, Hardware Video Decoding, and Network Performance on Orange Pi One Board (Video)

I’ve just written Getting Started Guide for Orange Pi One, a $10 development board based on Allwinner H3 quad core Cortex A7 processor, where I explain how to install and configure Armbian distribution on the board. As promised, I’ve also tested 3D graphics acceleration, and hardware video decoding, and also included some Ethernet benchmarks. Since ARM Mali-400 GPU found in Allwinner H3 is only capable of OpenGL ES, as in most ARM SoCs, you can test 3D graphics acceleration by using es2gears (and not glxgears as I’ve seen some other do in the past):

The log shows the utility is using Linux-r3p0 Mali driver, and the gears are display at a high frame rate close to 300 fps. If I switch to full screen, the frame rate drops to about 43 fps, which should still be acceptable. CedarX is the infamous closed source and GPL violating media library released […]

Linux 4.3 Release – Main Changes, ARM and MIPS Architectures

Linus Torvalds released Linux Kernel 4.3 last week-end: So it *felt* like the last week of the rc series was busy, to the point where I got a bit worried about the release. But doing the actual numbers shows that that really was just my subjective feeling, probably due to the kernel summit and travel back home from Korea. It wasn’t actually a particularly busy week, it’s just that the pull requests were more noticeable in the last couple of days. We had a network update and a late fix for a x86 vm86 mode bug introduced by the vm86 cleanups, but other than that it’s just a collection of various small one-liners all over. Ok, the vm86 mode thing was a one-liner too, it was just slightly more nerve-wracking because it looked scarier than it was before people (Andy) figured out what was going on. The changes from rc7 […]

Marvell Announces AP806 Cortex A72 & ARMADA A3700 Cortex A53 Virtual SoCs based on MoChi & FLC Architecture

Marvell has published a press release introducing AP806 quad core Cortex A72 and ARMADA A3700 dual and single core Cortex-A53 chips. But these two chips are called Virtual SoCs (VSoC) and they are said to use MoChi and FLC (Final Level-Cache) architecture. What does this all means? If I understand correctly, Marvell has decided to create modular SoCs that may just integrate the minimum: CPU, GPU, and memory controller, with other peripherals like Ethernet, SATA, LTE Modem added to the virtual SoC in some ways just like legos. This is done in order to mitigate the cost of manufacturing chips with advanced process nodes (e.g. Finfet 16) with usually has high steep mask costs, and wafer prices. So they may have a single AP806 MoChi module, to create multiple SoCs using different MoChi modules to add peripherals. Marvell listed some of the key befinits of modular SoCs: Changing existing software […]

UP 7000 x86 SBC