Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Boris to ensemble problems #123

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Extend Boris to ensemble problems #123

merged 2 commits into from
Jan 23, 2024

Conversation

henry2004y
Copy link
Owner

  • Make Boris method work with multiple particle tracing using a similar interface as SciMLBase.
  • Add Boris method to the precompilation workflow.
  • Add new demo to the ensemble problem.

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (24c52a4) 76.87% compared to head (6f4af24) 57.93%.

Files Patch % Lines
src/pusher.jl 87.50% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #123       +/-   ##
===========================================
- Coverage   76.87%   57.93%   -18.95%     
===========================================
  Files          10       10               
  Lines         653      668       +15     
===========================================
- Hits          502      387      -115     
- Misses        151      281      +130     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Benchmark result

Judge result

Benchmark Report for /home/runner/work/TestParticle.jl/TestParticle.jl

Job Properties

  • Time of benchmarks:
    • Target: 23 Jan 2024 - 17:29
    • Baseline: 23 Jan 2024 - 17:30
  • Package commits:
    • Target: fddf1b
    • Baseline: 24c52a
  • Julia commits:
    • Target: 312098
    • Baseline: 312098
  • 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 ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). 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
["trace", "numerical field", "Boris"] 1.03 (5%) 1.29 (1%) ❌

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["trace", "analytic field"]
  • ["trace", "numerical field"]
  • ["trace", "time-dependent field"]

Julia versioninfo

Target

Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1018-azure #18~22.04.1-Ubuntu SMP Tue Nov 21 19:25:02 UTC 2023 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3242 MHz       1862 s          0 s        172 s       4824 s          0 s
       #2  2445 MHz       1980 s          0 s        155 s       4725 s          0 s
       #3  2605 MHz       2068 s          0 s        157 s       4632 s          0 s
       #4  2445 MHz       2286 s          0 s        182 s       4382 s          0 s
  Memory: 15.60690689086914 GB (13755.97265625 MB free)
  Uptime: 688.47 sec
  Load Avg:  1.22  1.46  0.8
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
  Threads: 1 on 4 virtual cores

Baseline

Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1018-azure #18~22.04.1-Ubuntu SMP Tue Nov 21 19:25:02 UTC 2023 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  2445 MHz       2089 s          0 s        179 s       5419 s          0 s
       #2  3243 MHz       2469 s          0 s        164 s       5056 s          0 s
       #3  2592 MHz       2112 s          0 s        164 s       5408 s          0 s
       #4  3220 MHz       2361 s          0 s        193 s       5123 s          0 s
  Memory: 15.60690689086914 GB (13672.1015625 MB free)
  Uptime: 771.38 sec
  Load Avg:  1.08  1.36  0.83
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
  Threads: 1 on 4 virtual cores

Target result

Benchmark Report for /home/runner/work/TestParticle.jl/TestParticle.jl

Job Properties

  • Time of benchmark: 23 Jan 2024 - 17:29
  • Package commit: fddf1b
  • Julia commit: 312098
  • 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
["trace", "analytic field", "in place"] 8.035 μs (5%) 10.56 KiB (1%) 114
["trace", "analytic field", "out of place"] 5.624 μs (5%) 8.72 KiB (1%) 88
["trace", "numerical field", "Boris"] 1.683 μs (5%) 288 bytes (1%) 3
["trace", "numerical field", "in place"] 23.123 μs (5%) 22.45 KiB (1%) 129
["trace", "numerical field", "out of place"] 16.652 μs (5%) 14.80 KiB (1%) 99
["trace", "time-dependent field", "in place"] 9.057 μs (5%) 11.31 KiB (1%) 123
["trace", "time-dependent field", "out of place"] 7.023 μs (5%) 9.50 KiB (1%) 97

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["trace", "analytic field"]
  • ["trace", "numerical field"]
  • ["trace", "time-dependent field"]

Julia versioninfo

Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1018-azure #18~22.04.1-Ubuntu SMP Tue Nov 21 19:25:02 UTC 2023 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3242 MHz       1862 s          0 s        172 s       4824 s          0 s
       #2  2445 MHz       1980 s          0 s        155 s       4725 s          0 s
       #3  2605 MHz       2068 s          0 s        157 s       4632 s          0 s
       #4  2445 MHz       2286 s          0 s        182 s       4382 s          0 s
  Memory: 15.60690689086914 GB (13755.97265625 MB free)
  Uptime: 688.47 sec
  Load Avg:  1.22  1.46  0.8
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
  Threads: 1 on 4 virtual cores

Baseline result

Benchmark Report for /home/runner/work/TestParticle.jl/TestParticle.jl

Job Properties

  • Time of benchmark: 23 Jan 2024 - 17:30
  • Package commit: 24c52a
  • Julia commit: 312098
  • 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
["trace", "analytic field", "in place"] 7.992 μs (5%) 10.56 KiB (1%) 114
["trace", "analytic field", "out of place"] 5.487 μs (5%) 8.72 KiB (1%) 88
["trace", "numerical field", "Boris"] 1.640 μs (5%) 224 bytes (1%) 2
["trace", "numerical field", "in place"] 23.163 μs (5%) 22.45 KiB (1%) 129
["trace", "numerical field", "out of place"] 16.522 μs (5%) 14.80 KiB (1%) 99
["trace", "time-dependent field", "in place"] 9.188 μs (5%) 11.31 KiB (1%) 123
["trace", "time-dependent field", "out of place"] 7.071 μs (5%) 9.50 KiB (1%) 97

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["trace", "analytic field"]
  • ["trace", "numerical field"]
  • ["trace", "time-dependent field"]

Julia versioninfo

Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 6.2.0-1018-azure #18~22.04.1-Ubuntu SMP Tue Nov 21 19:25:02 UTC 2023 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  2445 MHz       2089 s          0 s        179 s       5419 s          0 s
       #2  3243 MHz       2469 s          0 s        164 s       5056 s          0 s
       #3  2592 MHz       2112 s          0 s        164 s       5408 s          0 s
       #4  3220 MHz       2361 s          0 s        193 s       5123 s          0 s
  Memory: 15.60690689086914 GB (13672.1015625 MB free)
  Uptime: 771.38 sec
  Load Avg:  1.08  1.36  0.83
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
  Threads: 1 on 4 virtual cores

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() lbt
Sys.CPU_THREADS 4

lscpu output:

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             4
On-line CPU(s) list:                0-3
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 7763 64-Core Processor
CPU family:                         25
Model:                              1
Thread(s) per core:                 2
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           4890.85
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization:                     AMD-V
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           1 MiB (2 instances)
L3 cache:                           32 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Mitigation; safe RET, no microcode
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Cpu Property Value
Brand AMD EPYC 7763 64-Core Processor
Vendor :AMD
Architecture :Unknown
Model Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00
Cores 16 physical cores, 16 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 512, 32768) kbytes
64 byte cache line size
Address Size 48 bits virtual, 48 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC runs at constant rate (invariant from clock frequency)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

Repository owner deleted a comment from github-actions bot Jan 23, 2024
@henry2004y henry2004y merged commit 43d9545 into master Jan 23, 2024
6 of 7 checks passed
@henry2004y henry2004y deleted the boris_ensemble branch January 23, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant