Skip to content

Instantly share code, notes, and snippets.

Rigo rigred

Block or report user

Report or block rigred

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ubuntu_5.3.0-51_intel_7700_32GB_2400_openssl_results.txt
Doing md4 for 3s on 16 size blocks: 21912727 md4's in 3.00s
Doing md4 for 3s on 64 size blocks: 16415248 md4's in 3.00s
Doing md4 for 3s on 256 size blocks: 9205399 md4's in 3.00s
Doing md4 for 3s on 1024 size blocks: 3410651 md4's in 3.00s
Doing md4 for 3s on 8192 size blocks: 489747 md4's in 3.00s
Doing md4 for 3s on 16384 size blocks: 248924 md4's in 3.00s
Doing md5 for 3s on 16 size blocks: 28673396 md5's in 3.00s
Doing md5 for 3s on 64 size blocks: 16591487 md5's in 3.00s
Doing md5 for 3s on 256 size blocks: 7269859 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 2244337 md5's in 3.00s
@rigred
rigred / my.na_filter.txt
Last active Feb 19, 2020
Ublock filter to remove my.na login modal from namibian news sites.
View my.na_filter.txt
www.republikein.com.na###payModal
www.republikein.com.na##.in.fade.modal-backdrop
www.republikein.com.na###pre_load
www.republikein.com.na##script:contains(function run_validate_access(){)
www.az.com.na###payModal
www.az.com.na##.in.fade.modal-backdrop
www.az.com.na###pre_load
www.az.com.na##script:contains(function run_validate_access(){)
@rigred
rigred / PCI-e_bus_bandwidth_calc.md
Last active Jan 27, 2020
PCI-e bus bandwidth calculation
View PCI-e_bus_bandwidth_calc.md

How PCI-e bandwidth and actual true data bandwidth can be calculated.

PCI-e 1.x uses an 8/10b encoding scheme, so to send 8 bits, 10 bits of encoded data must be transfered. 2 of those bits are there as error checking and correction bits to account for interference which is very common on fast buses. SATA btw also uses 8b/10b encoding, you loose 20% of bandwidth (1-8/10) to get the data across.

PCI-e 1.0 is clocked at 2.5Ghz, it sends 1 bit per clock cycle and each lane corresponds to a 1 bit bi-directional serial channel. Which is kind of neat since here 'Gigatransfers' indicate 1 bit transfered for every clock cycle. This should immediately tell us that unlike FSB which transfers multiple bts per cycle in a parallel fashion, PCI-e is serial, since we are sequentially throwing 1 bit of data per cycle onto the bus and it takes multiple cycles to send a full byte. While on a parallel bus multiple bytes can be sent per cycle.

@rigred
rigred / PKGBUILD rocminfo
Created Aug 20, 2019
PKGBUILD for rocminfo 2.7.0
View PKGBUILD rocminfo
# Maintainer: Jakub Okoński <jakub@okonski.org>
# Maintainer: Rigo Reddig <rigo.reddig@gmail.com>
pkgname=rocminfo
pkgver=2.7.0
pkgrel=1
pkgdesc="ROCm info tools - rocm_agent_enumerator"
arch=(x86_64)
url="https://github.com/RadeonOpenCompute/rocminfo"
license=('NCSA')
makedepends=(git cmake ninja)
@rigred
rigred / PKGBUILD rocm-cmake
Created Aug 20, 2019
PKGBUILD rocm-cmake (release)
View PKGBUILD rocm-cmake
# Original build: fermyon <antifermion@protonmail.com>
# Maintainer: Jakub Okoński <jakub@okonski.org>
# Maintainer: Rigo Reddig <rigo.reddig@gmail.com>
pkgname=rocm-cmake
pkgver=2.7.0
pkgrel=1
pkgdesc="cmake modules for common build tasks needed for the ROCM software stack"
arch=(x86_64)
url="https://github.com/RadeonOpenCompute/rocm-cmake"
license=(MIT)
@rigred
rigred / PKGBUILD hcc
Created Aug 20, 2019
PKGBUILD for ROCm hcc - should be easily updateable with just a pkgver increment and updpkgsums
View PKGBUILD hcc
# Submitter: Olaf Leidinger <oleid@mescharet.de>
# Maintainer: Jakub Okoński <jakub@okonski.org>
# Maintainer: Rigo Reddig <rigo.reddig@gmail.com> ;)
pkgname=hcc
pkgver=2.7.0
pkgrel=1
pkgdesc="HCC is an Open Source, Optimizing C++ Compiler for Heterogeneous Compute"
arch=('x86_64')
url="https://github.com/RadeonOpenCompute/hcc"
license=('NCSAOSL')
@rigred
rigred / brutal_doom_rc10.patch
Last active May 16, 2019
aur brutal doom RC10 patch
View brutal_doom_rc10.patch
diff --git a/PKGBUILD b/PKGBUILD
index 7522de9..15b800d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: ProfessorKaos64 <mdeguzis@gmail.com>
+# Contributor: zer0def <zer0def on freenode>
# Mod: http://www.moddb.com/mods/brutal-doom
pkgname=brutal-doom
-pkgver=21.2018.02.24
@rigred
rigred / ASRock_Z370-Pro4
Last active Mar 23, 2019
Preliminary Config for ASRock Z370 Pro4 (NCT6833)
View ASRock_Z370-Pro4
# Note this is an early (INCOMPLETE) testing config
chip "nct6683-isa-0a20"
# Fans
label fan1 "Chassis Fan 1 Speed"
label fan2 "CPU Fan 1 Speed"
label fan3 "CPU Fan 2 Speed"
label fan4 "Chassis Fan 2 Speed"
# Fan minimums (conservative 400rpm)
@rigred
rigred / fuji_hs50_details.md
Created Dec 28, 2018
Fuji HS50 EXR USB info
View fuji_hs50_details.md

lsusb dump

Bus 001 Device 007: ID 04cb:02a5 Fuji Photo Film Co., Ltd                                                                                                                                                                                                                      
Device Descriptor:                                                                                                                                                                                                                                                             
  bLength                18                                                                                                                                                                                                                                                    
  bDescriptorType         1                                                                                                                                                                   
@rigred
rigred / opencl-amd-18.40.patch
Created Dec 10, 2018
Path to upgrade to version 18.40 opencl-amd AUR
View opencl-amd-18.40.patch
--- PKGBUILD-18.30 2018-12-10 13:12:01.363017487 +0200
+++ PKGBUILD 2018-12-09 16:44:50.307845560 +0200
@@ -2,7 +2,7 @@
pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
-pkgver='18.30.641594'
+pkgver=18.40.697810
pkgrel=1
arch=('x86_64')
You can’t perform that action at this time.