PyDataBlog / ParallelKMeans.jl

Parallel & lightning fast implementation of available classic and contemporary variants of the KMeans clustering algorithm
MIT License
50 stars 13 forks source link

Experimental #6

Closed PyDataBlog closed 4 years ago

PyDataBlog commented 4 years ago

Broken Travis configs fixed now. The project is relatively stable now. Only implementation missing is the multi-threading computations and optimizations. Great job so far!

github-actions[bot] commented 4 years ago
Benchmark result # Judge result # Benchmark Report for */home/runner/work/ParallelKMeans.jl/ParallelKMeans.jl* ## Job Properties * Time of benchmarks: - Target: 21 Feb 2020 - 09:31 - Baseline: 21 Feb 2020 - 09:32 * Package commits: - Target: 07b3ce - Baseline: d70db4 * Julia commits: - Target: 2d5741 - Baseline: 2d5741 * Julia command flags: - Target: None - Baseline: None * Environment variables: - Target: None - Baseline: None ## Results A ratio greater than `1.0` denotes a possible regression (marked with :x:), while a ratio less than `1.0` denotes a possible improvement (marked with :white_check_mark:). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds). | ID | time ratio | memory ratio | |-------------------------------------|------------------------------|--------------| | `["distance", "100kx10_distances"]` | 0.94 (5%) :white_check_mark: | 1.00 (1%) | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["distance"]` ## Julia versioninfo ### Target ``` Julia Version 1.3.1 Commit 2d5741174c (2019-12-30 21:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.0.0-1031-azure #33-Ubuntu SMP Thu Feb 6 22:26:13 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 7215 s 0 s 815 s 3190 s 0 s #2 2294 MHz 3275 s 0 s 1222 s 7567 s 0 s Memory: 6.782741546630859 GB (3697.96875 MB free) Uptime: 130.0 sec Load Avg: 1.29541015625 0.59130859375 0.22705078125 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, broadwell) ``` ### Baseline ``` Julia Version 1.3.1 Commit 2d5741174c (2019-12-30 21:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.0.0-1031-azure #33-Ubuntu SMP Thu Feb 6 22:26:13 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 8548 s 0 s 1027 s 4953 s 0 s #2 2294 MHz 5581 s 0 s 1248 s 8534 s 0 s Memory: 6.782741546630859 GB (3676.15234375 MB free) Uptime: 163.0 sec Load Avg: 1.244140625 0.654296875 0.26318359375 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, broadwell) ``` --- # Target result # Benchmark Report for */home/runner/work/ParallelKMeans.jl/ParallelKMeans.jl* ## Job Properties * Time of benchmark: 21 Feb 2020 - 9:31 * Package commit: 07b3ce * Julia commit: 2d5741 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |-------------------------------------|----------------:|--------:|----------------:|------------:| | `["distance", "100kx10"]` | 1.713 ms (5%) | | | | | `["distance", "100kx10_distances"]` | 1.580 ms (5%) | | 781.45 KiB (1%) | 5 | | `["distance", "100kx3"]` | 490.798 μs (5%) | | | | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["distance"]` ## Julia versioninfo ``` Julia Version 1.3.1 Commit 2d5741174c (2019-12-30 21:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.0.0-1031-azure #33-Ubuntu SMP Thu Feb 6 22:26:13 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 7215 s 0 s 815 s 3190 s 0 s #2 2294 MHz 3275 s 0 s 1222 s 7567 s 0 s Memory: 6.782741546630859 GB (3697.96875 MB free) Uptime: 130.0 sec Load Avg: 1.29541015625 0.59130859375 0.22705078125 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, broadwell) ``` --- # Baseline result # Benchmark Report for */home/runner/work/ParallelKMeans.jl/ParallelKMeans.jl* ## Job Properties * Time of benchmark: 21 Feb 2020 - 9:32 * Package commit: d70db4 * Julia commit: 2d5741 * Julia command flags: None * Environment variables: None ## Results Below is a table of this job's results, obtained by running the benchmarks. The values listed in the `ID` column have the structure `[parent_group, child_group, ..., key]`, and can be used to index into the BaseBenchmarks suite to retrieve the corresponding benchmarks. The percentages accompanying time and memory values in the below table are noise tolerances. The "true" time/memory value for a given benchmark is expected to fall within this percentage of the reported value. An empty cell means that the value was zero. | ID | time | GC time | memory | allocations | |-------------------------------------|----------------:|--------:|----------------:|------------:| | `["distance", "100kx10"]` | 1.709 ms (5%) | | | | | `["distance", "100kx10_distances"]` | 1.685 ms (5%) | | 781.45 KiB (1%) | 5 | | `["distance", "100kx3"]` | 489.706 μs (5%) | | | | ## Benchmark Group List Here's a list of all the benchmark groups executed by this job: - `["distance"]` ## Julia versioninfo ``` Julia Version 1.3.1 Commit 2d5741174c (2019-12-30 21:36 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) Ubuntu 18.04.4 LTS uname: Linux 5.0.0-1031-azure #33-Ubuntu SMP Thu Feb 6 22:26:13 UTC 2020 x86_64 x86_64 CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: speed user nice sys idle irq #1 2294 MHz 8548 s 0 s 1027 s 4953 s 0 s #2 2294 MHz 5581 s 0 s 1248 s 8534 s 0 s Memory: 6.782741546630859 GB (3676.15234375 MB free) Uptime: 163.0 sec Load Avg: 1.244140625 0.654296875 0.26318359375 WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.1 (ORCJIT, broadwell) ``` --- # Runtime information | Runtime Info | | |:--|:--| | BLAS #threads | 2 | | `BLAS.vendor()` | `openblas64` | | `Sys.CPU_THREADS` | 2 | `lscpu` output: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz Stepping: 1 CPU MHz: 2294.687 BogoMIPS: 4589.37 Hypervisor vendor: Microsoft Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 51200K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt md_clear | Cpu Property | Value | |:------------------ |:------------------------------------------------------- | | Brand | Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz | | Vendor | :Intel | | Architecture | :Broadwell | | Model | Family: 0x06, Model: 0x4f, Stepping: 0x01, Type: 0x00 | | Cores | 2 physical cores, 2 logical cores (on executing CPU) | | | No Hyperthreading detected | | Clock Frequencies | Not supported by CPU | | Data Cache | Level 1:3 : (32, 256, 51200) kbytes | | | 64 byte cache line size | | Address Size | 48 bits virtual, 44 bits physical | | SIMD | 256 bit = 32 byte max. SIMD vector size | | Time Stamp Counter | TSC is accessible via `rdtsc` | | | TSC increased at every clock cycle (non-invariant TSC) | | Perf. Monitoring | Performance Monitoring Counters (PMC) are not supported | | Hypervisor | Yes, Microsoft |
Arkoniak commented 4 years ago

LGTM