You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn to manage bulk coretime regions through transfer, partition, interlace, assign, and pool operations for optimal resource allocation.
4
4
---
5
5
6
6
# Manage Coretime
7
7
8
-
## Introduction
8
+
## Introduction
9
+
10
+
Coretime management involves manipulating bulk coretime regions to optimize resource allocation and usage. Regions represent allocated computational resources on cores and can be modified through various operations to meet different project requirements. This guide covers the essential operations for managing your coretime regions effectively.
11
+
12
+
## Transfer
13
+
14
+
Transfer ownership of a bulk coretime region to a new owner. This operation allows you to change who controls and manages a specific region.
15
+
16
+
Use this operation when you need to delegate control of computational resources to another account or when selling regions to other parties.
description: Learn to manage bulk coretime regions through transfer, partition, interlace, assign, and pool operations for optimal resource allocation.
4562
+
---
4563
+
4564
+
# Manage Coretime
4565
+
4566
+
## Introduction
4567
+
4568
+
Coretime management involves manipulating bulk coretime regions to optimize resource allocation and usage. Regions represent allocated computational resources on cores and can be modified through various operations to meet different project requirements. This guide covers the essential operations for managing your coretime regions effectively.
4569
+
4570
+
## Transfer
4571
+
4572
+
Transfer ownership of a bulk coretime region to a new owner. This operation allows you to change who controls and manages a specific region.
4573
+
4574
+
Use this operation when you need to delegate control of computational resources to another account or when selling regions to other parties.
- **`origin`**: Must be a signed origin of the account which owns the region `region_id`
4583
+
- **`region_id`**: The region whose ownership should change
4584
+
- **`new_owner`**: The new owner for the region
4585
+
4586
+
## Partition
4587
+
4588
+
Split a bulk coretime region into two non-overlapping regions at a specific time point. This operation divides a region temporally, creating two shorter regions that together span the same duration as the original.
4589
+
4590
+
The partition operation removes the original region and creates two new regions with the same owner and core mask. The first new region spans from the original start time to the pivot point, while the second spans from the pivot point to the original end time.
4591
+
4592
+
This is useful when you want to use part of your allocated time immediately and reserve the remainder for later use, or when you want to sell or transfer only a portion of your time allocation.
- **`origin`**: Must be a signed origin of the account which owns the Region region_id
4601
+
- **`region_id`**: The Region which should be partitioned into two non-overlapping Regions
4602
+
- **`pivot`**: The offset in time into the Region at which to make the split
4603
+
4604
+
## Interlace
4605
+
4606
+
Split a bulk coretime region into two wholly-overlapping Regions with complementary interlace masks. This operation allows core sharing by dividing computational resources between two projects that run simultaneously.
4607
+
4608
+
The interlace operation removes the original region and creates two new regions with the same time span and owner. One Region receives the specified core mask, while the other receives the XOR of the specified mask and the original region's core mask.
4609
+
4610
+
Use interlacing when you want to share core resources between multiple tasks or when you need to optimize resource utilization by running complementary workloads simultaneously.
- **`origin`**: Must be a signed origin of the account which owns the Region region_id
4619
+
- **`region_id`**: The Region which should become two interlaced Regions of incomplete regularity
4620
+
- **`pivot`**: The interlace mask of one of the two new regions (the other is its partial complement)
4621
+
4622
+
## Assign
4623
+
4624
+
Assign a Bulk Coretime Region to a specific task for execution.
4625
+
4626
+
This operation places an item in the workplan corresponding to the region's properties and assigns it to the target task. If the region's end time has already passed, the operation becomes a no-op. If the region's beginning has passed, it effectively starts from the next schedulable timeslice.
4627
+
4628
+
Use this operation to execute your tasks on the allocated cores. Choose final assignment when you're certain about the task allocation, or provisional when you might need flexibility for later changes.
- **`origin`**: Must be a signed origin of the account which owns the Region `region_id`
4637
+
- **`region_id`**: The region which should be assigned to the task
4638
+
- **`task`**: The task to assign
4639
+
- **`finality`**: Indication of whether this assignment is final or provisional
4640
+
4641
+
## Pool
4642
+
4643
+
Place a bulk coretime region into the instantaneous coretime pool to earn revenue from unused computational resources.
4644
+
4645
+
This operation places the region in the workplan and assigns it to the instantaneous coretime pool. The region details are recorded to calculate a pro rata share of the instantaneous coretime sales revenue relative to other pool providers.
4646
+
4647
+
Use pooling when you have unused coretime that you want to monetize, or when you want to contribute to the network's available computational resources while earning passive income.
0 commit comments