Skip to content

Commit 97d7888

Browse files
committed
Apply suggestions
1 parent 643bd72 commit 97d7888

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

develop/parachains/deployment/manage-coretime.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Learn to manage bulk coretime regions through transfer, partition,
77

88
## Introduction
99

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.
10+
Coretime management involves manipulating [bulk coretime](/develop/parachains/deployment/obtain-coretime/#bulk-coretime){target=\_blank} 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.
1111

1212
## Transfer
1313

@@ -29,7 +29,7 @@ pub fn transfer<T: Config>(region_id: RegionId, new_owner: T::AccountId)
2929

3030
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.
3131

32-
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.
32+
The [partition](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.partition){target=\_blank} 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.
3333

3434
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.
3535

@@ -39,15 +39,15 @@ pub fn partition<T: Config>(region_id: RegionId, pivot: Timeslice)
3939

4040
**Parameters:**
4141

42-
- **`origin`**: Must be a signed origin of the account which owns the Region region_id
43-
- **`region_id`**: The Region which should be partitioned into two non-overlapping Regions
44-
- **`pivot`**: The offset in time into the Region at which to make the split
42+
- **`origin`**: Must be a signed origin of the account which owns the region `region_id`
43+
- **`region_id`**: The region which should be partitioned into two non-overlapping regions
44+
- **`pivot`**: The offset in time into the region at which to make the split
4545

4646
## Interlace
4747

48-
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.
48+
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.
4949

50-
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.
50+
The [interlace](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.interlace){target=\_blank} 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.
5151

5252
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.
5353

@@ -57,13 +57,13 @@ pub fn interlace<T: Config>(region_id: RegionId, pivot: CoreMask)
5757

5858
Parameters:
5959

60-
- **`origin`**: Must be a signed origin of the account which owns the Region region_id
61-
- **`region_id`**: The Region which should become two interlaced Regions of incomplete regularity
60+
- **`origin`**: Must be a signed origin of the account which owns the region `region_id`
61+
- **`region_id`**: The region which should become two interlaced regions of incomplete regularity
6262
- **`pivot`**: The interlace mask of one of the two new regions (the other is its partial complement)
6363

6464
## Assign
6565

66-
Assign a Bulk Coretime Region to a specific task for execution.
66+
[Assign](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.assign){target=\_blank} a bulk coretime region to a specific task for execution.
6767

6868
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.
6969

@@ -75,7 +75,7 @@ pub fn assign<T: Config>(region_id: RegionId, task: TaskId, finality: Finality)
7575

7676
**Parameters:**
7777

78-
- **`origin`**: Must be a signed origin of the account which owns the Region `region_id`
78+
- **`origin`**: Must be a signed origin of the account which owns the region `region_id`
7979
- **`region_id`**: The region which should be assigned to the task
8080
- **`task`**: The task to assign
8181
- **`finality`**: Indication of whether this assignment is final or provisional
@@ -84,7 +84,7 @@ pub fn assign<T: Config>(region_id: RegionId, task: TaskId, finality: Finality)
8484

8585
Place a bulk coretime region into the instantaneous coretime pool to earn revenue from unused computational resources.
8686

87-
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.
87+
The [pool](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.pool){target=\_blank} 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.
8888

8989
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.
9090

llms.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4565,11 +4565,11 @@ description: Learn to manage bulk coretime regions through transfer, partition,
45654565

45664566
## Introduction
45674567

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.
4568+
Coretime management involves manipulating [bulk coretime](/develop/parachains/deployment/obtain-coretime/#bulk-coretime){target=\_blank} 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.
45694569

45704570
## Transfer
45714571

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.
4572+
[Transfer](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.transfer){target=\_blank} ownership of a bulk coretime region to a new owner. This operation allows you to change who controls and manages a specific region.
45734573

45744574
Use this operation when you need to delegate control of computational resources to another account or when selling regions to other parties.
45754575

@@ -4587,7 +4587,7 @@ pub fn transfer<T: Config>(region_id: RegionId, new_owner: T::AccountId)
45874587

45884588
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.
45894589

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.
4590+
The [partition](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.partition){target=\_blank} 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.
45914591

45924592
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.
45934593

@@ -4597,15 +4597,15 @@ pub fn partition<T: Config>(region_id: RegionId, pivot: Timeslice)
45974597

45984598
**Parameters:**
45994599

4600-
- **`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
4600+
- **`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
46034603

46044604
## Interlace
46054605

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.
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.
46074607

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.
4608+
The [interlace](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.interlace){target=\_blank} 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.
46094609

46104610
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.
46114611

@@ -4615,13 +4615,13 @@ pub fn interlace<T: Config>(region_id: RegionId, pivot: CoreMask)
46154615

46164616
Parameters:
46174617

4618-
- **`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
4618+
- **`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
46204620
- **`pivot`**: The interlace mask of one of the two new regions (the other is its partial complement)
46214621

46224622
## Assign
46234623

4624-
Assign a Bulk Coretime Region to a specific task for execution.
4624+
[Assign](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.assign){target=\_blank} a bulk coretime region to a specific task for execution.
46254625

46264626
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.
46274627

@@ -4633,7 +4633,7 @@ pub fn assign<T: Config>(region_id: RegionId, task: TaskId, finality: Finality)
46334633

46344634
**Parameters:**
46354635

4636-
- **`origin`**: Must be a signed origin of the account which owns the Region `region_id`
4636+
- **`origin`**: Must be a signed origin of the account which owns the region `region_id`
46374637
- **`region_id`**: The region which should be assigned to the task
46384638
- **`task`**: The task to assign
46394639
- **`finality`**: Indication of whether this assignment is final or provisional
@@ -4642,7 +4642,7 @@ pub fn assign<T: Config>(region_id: RegionId, task: TaskId, finality: Finality)
46424642

46434643
Place a bulk coretime region into the instantaneous coretime pool to earn revenue from unused computational resources.
46444644

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.
4645+
The [pool](https://paritytech.github.io/polkadot-sdk/master/pallet_broker/pallet/struct.Pallet.html#method.pool){target=\_blank} 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.
46464646

46474647
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.
46484648

0 commit comments

Comments
 (0)